Class JExpr.CastExpr
java.lang.Object
com.inductiveautomation.snap.javatree.JNode
com.inductiveautomation.snap.javatree.JExpr
com.inductiveautomation.snap.javatree.JExpr.CastExpr
- Enclosing class:
JExpr
A JExpr subclass for Cast expressions.
-
Nested Class Summary
Nested classes/interfaces inherited from class JExpr
JExpr.AllocationExpr, JExpr.ArrayIndexExpr, JExpr.CastExpr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the cast expression.Returns the cast JType.protected StringTries to resolve the class name for this node.Returns the node name.voidsetCastExpression(JExpr anExpr) Sets the cast expression.voidsetCastType(JType aType) Sets the cast JType.Methods inherited from class JExpr
getParentClassRef, getParentExprMethods inherited from class 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
-
Constructor Details
-
CastExpr
public CastExpr()
-
-
Method Details
-
getCastType
Returns the cast JType. -
setCastType
Sets the cast JType. -
getCastExpression
Returns the cast expression. -
setCastExpression
Sets the cast expression. -
getNodeString
-
getClassNameImpl
Tries to resolve the class name for this node.- Overrides:
getClassNameImplin classJNode
-