Class JExpr.AllocationExpr
java.lang.Object
com.inductiveautomation.snap.javatree.JNode
com.inductiveautomation.snap.javatree.JExpr
com.inductiveautomation.snap.javatree.JExpr.AllocationExpr
- Enclosing class:
- JExpr
A JExpr subclass for Allocation expressions.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.inductiveautomation.snap.javatree.JExprJExpr.AllocationExpr, JExpr.ArrayIndexExpr, JExpr.CastExpr
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the allocation arguments.Returns the allocation ClassOrInterfaceBodyDeclaration.Returns the allocation JType.protected StringTries to resolve the class name for this node.Returns the part name.voidsetAllocationArguments(List<JExpr> theArgs) Sets the allocation arguments.voidSets the allocation ClassOrInterfaceBodyDeclaration.voidsetAllocationType(JType aType) Sets the allocation JType.Methods inherited from class com.inductiveautomation.snap.javatree.JExprgetParentClassRef, getParentExprMethods inherited from class com.inductiveautomation.snap.javatree.JNodeaddChild, 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
- 
Constructor Details- 
AllocationExprpublic AllocationExpr()
 
- 
- 
Method Details- 
getAllocationTypeReturns the allocation JType.
- 
setAllocationTypeSets the allocation JType.
- 
getAllocationArgumentsReturns the allocation arguments.
- 
setAllocationArgumentsSets the allocation arguments.
- 
getAllocationClassDeclarationReturns the allocation ClassOrInterfaceBodyDeclaration.
- 
setAllocationClassDeclarationSets the allocation ClassOrInterfaceBodyDeclaration.
- 
getNodeStringReturns the part name.- Overrides:
- getNodeStringin class- JNode
 
- 
getClassNameImplTries to resolve the class name for this node.- Overrides:
- getClassNameImplin class- JNode
 
 
-