JExpr.AllocationExpr, JExpr.ArrayIndexExpr, JExpr.CastExpr
Constructor and Description |
---|
CastExpr() |
Modifier and Type | Method and Description |
---|---|
JExpr |
getCastExpression()
Returns the cast expression.
|
JType |
getCastType()
Returns the cast JType.
|
protected java.lang.String |
getClassNameImpl()
Tries to resolve the class name for this node.
|
java.lang.String |
getNodeString()
Returns the node name.
|
void |
setCastExpression(JExpr anExpr)
Sets the cast expression.
|
void |
setCastType(JType aType)
Sets the cast 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 getCastType()
public void setCastType(JType aType)
public JExpr getCastExpression()
public void setCastExpression(JExpr anExpr)
public java.lang.String getNodeString()
getNodeString
in class JNode
protected java.lang.String getClassNameImpl()
getClassNameImpl
in class JNode