JExpr.AllocationExpr, JExpr.ArrayIndexExpr, JExpr.CastExpr
Constructor and Description |
---|
AllocationExpr() |
Modifier and Type | Method and Description |
---|---|
java.util.List<JExpr> |
getAllocationArguments()
Returns the allocation arguments.
|
JClassDecl |
getAllocationClassDeclaration()
Returns the allocation ClassOrInterfaceBodyDeclaration.
|
JType |
getAllocationType()
Returns the allocation JType.
|
protected java.lang.String |
getClassNameImpl()
Tries to resolve the class name for this node.
|
java.lang.String |
getNodeString()
Returns the part name.
|
void |
setAllocationArguments(java.util.List<JExpr> theArgs)
Sets the allocation arguments.
|
void |
setAllocationClassDeclaration(JClassDecl aCID)
Sets the allocation ClassOrInterfaceBodyDeclaration.
|
void |
setAllocationType(JType aType)
Sets the allocation JType.
|
getParentClassRef, getParentExpr
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
public JType getAllocationType()
public void setAllocationType(JType aType)
public java.util.List<JExpr> getAllocationArguments()
public void setAllocationArguments(java.util.List<JExpr> theArgs)
public JClassDecl getAllocationClassDeclaration()
public void setAllocationClassDeclaration(JClassDecl aCID)
public java.lang.String getNodeString()
getNodeString
in class JNode
protected java.lang.String getClassNameImpl()
getClassNameImpl
in class JNode