Class JExpr.AllocationExpr

Enclosing class:
JExpr

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

    • AllocationExpr

      public AllocationExpr()
  • Method Details

    • getAllocationType

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

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

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

      public void setAllocationArguments(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 String getNodeString()
      Returns the part name.
      Overrides:
      getNodeString in class JNode
    • getClassNameImpl

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