Class JExpr.AllocationExpr

  • Enclosing class:
    JExpr

    public static class JExpr.AllocationExpr
    extends JExpr
    A JExpr subclass for Allocation expressions.
    • Constructor Detail

      • AllocationExpr

        public AllocationExpr()
    • Method Detail

      • getAllocationType

        public JType getAllocationType()
        Returns the allocation JType.
      • setAllocationType

        public void setAllocationType​(JType aType)
        Sets the allocation JType.
      • getAllocationArguments

        public java.util.List<JExpr> getAllocationArguments()
        Returns the allocation arguments.
      • setAllocationArguments

        public void setAllocationArguments​(java.util.List<JExpr> theArgs)
        Sets the allocation arguments.
      • getAllocationClassDeclaration

        public JClassDecl getAllocationClassDeclaration()
        Returns the allocation ClassOrInterfaceBodyDeclaration.
      • setAllocationClassDeclaration

        public void setAllocationClassDeclaration​(JClassDecl aCID)
        Sets the allocation ClassOrInterfaceBodyDeclaration.
      • getNodeString

        public java.lang.String getNodeString()
        Returns the part name.
        Overrides:
        getNodeString in class JNode
      • getClassNameImpl

        protected java.lang.String getClassNameImpl()
        Tries to resolve the class name for this node.
        Overrides:
        getClassNameImpl in class JNode