Class JFieldDecl
java.lang.Object
com.inductiveautomation.snap.javatree.JNode
com.inductiveautomation.snap.javatree.JMemberDecl
com.inductiveautomation.snap.javatree.JFieldDecl
A JMember for Field declarations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the part name.getType()
Returns the field type.getVariableDeclInside
(String aName) Returns a variable with given name.Returns the VariableDecls.void
Sets the field type.Methods inherited from class com.inductiveautomation.snap.javatree.JMemberDecl
getDeclaringClass, getIdentifier, getModifiers, getNameImpl, getSuperMember, getSuperMemberImpl, getTypeParameter, getTypeParameters, setIdentifier, setModifiers
Methods inherited from class com.inductiveautomation.snap.javatree.JNode
addChild, buildChildren, getBlock, getChild, getChildCount, getChildren, getClassLoader, getClassName, getClassNameImpl, getClassRef, getClassRefImpl, getEnclosingClassDecl, getEnclosingMemberDecl, getEnclosingMethodDecl, getEnd, getEndToken, getFile, getJClass, getLineIndex, getName, getNodeAtCharIndex, getNodeFields, getNodeFieldsImpl, getNodeParents, getNodePath, getOthers, getParent, getParent, getReferencedClasses, getReferencedClassNames, getReferencedClassNames, getReferencedClassNames, getStart, getStartToken, getString, getVariableDecl, getVariableDecls, isBlock, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
-
Constructor Details
-
JFieldDecl
public JFieldDecl()
-
-
Method Details
-
getType
Returns the field type. -
setType
Sets the field type. -
getVariableDecls
Returns the VariableDecls. -
getVariableDeclInside
Returns a variable with given name.- Overrides:
getVariableDeclInside
in classJNode
-
getNodeString
Returns the part name.- Overrides:
getNodeString
in classJNode
-