Class JExpr.AllocationExpr
- java.lang.Object
-
- com.inductiveautomation.snap.javatree.JNode
-
- com.inductiveautomation.snap.javatree.JExpr
-
- com.inductiveautomation.snap.javatree.JExpr.AllocationExpr
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.inductiveautomation.snap.javatree.JExpr
JExpr.AllocationExpr, JExpr.ArrayIndexExpr, JExpr.CastExpr
-
-
Constructor Summary
Constructors Constructor Description AllocationExpr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<JExpr>getAllocationArguments()Returns the allocation arguments.JClassDeclgetAllocationClassDeclaration()Returns the allocation ClassOrInterfaceBodyDeclaration.JTypegetAllocationType()Returns the allocation JType.protected java.lang.StringgetClassNameImpl()Tries to resolve the class name for this node.java.lang.StringgetNodeString()Returns the part name.voidsetAllocationArguments(java.util.List<JExpr> theArgs)Sets the allocation arguments.voidsetAllocationClassDeclaration(JClassDecl aCid)Sets the allocation ClassOrInterfaceBodyDeclaration.voidsetAllocationType(JType aType)Sets the allocation JType.-
Methods inherited from class com.inductiveautomation.snap.javatree.JExpr
getParentClassRef, getParentExpr
-
Methods inherited from class com.inductiveautomation.snap.javatree.JNode
addChild, buildChildren, getBlock, getChild, getChildCount, getChildren, getClassLoader, getClassName, getClassRef, getClassRefImpl, getEnclosingClassDecl, getEnclosingMemberDecl, getEnclosingMethodDecl, getEnd, getEndToken, getFile, getJClass, getLineIndex, getName, getNameImpl, getNodeAtCharIndex, getNodeFields, getNodeFieldsImpl, getNodeParents, getNodePath, getOthers, getParent, getParent, getReferencedClasses, getReferencedClassNames, getReferencedClassNames, getReferencedClassNames, getStart, getStartToken, getString, getVariableDecl, getVariableDeclInside, getVariableDecls, isBlock, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
-
-
-
-
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:
getNodeStringin classJNode
-
getClassNameImpl
protected java.lang.String getClassNameImpl()
Tries to resolve the class name for this node.- Overrides:
getClassNameImplin classJNode
-
-