Class JFieldDecl
- java.lang.Object
- 
- com.inductiveautomation.snap.javatree.JNode
- 
- com.inductiveautomation.snap.javatree.JMemberDecl
- 
- com.inductiveautomation.snap.javatree.JFieldDecl
 
 
 
- 
 public class JFieldDecl extends JMemberDecl A JMember for Field declarations.
- 
- 
Constructor SummaryConstructors Constructor Description JFieldDecl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetNodeString()Returns the part name.JTypegetType()Returns the field type.JVariableDeclgetVariableDeclInside(java.lang.String aName)Returns a variable with given name.java.util.List<JVariableDecl>getVariableDecls()Returns the VariableDecls.voidsetType(JType aType)Sets the field type.- 
Methods inherited from class com.inductiveautomation.snap.javatree.JMemberDeclgetDeclaringClass, getIdentifier, getModifiers, getNameImpl, getSuperMember, getSuperMemberImpl, getTypeParameter, getTypeParameters, setIdentifier, setModifiers
 - 
Methods inherited from class com.inductiveautomation.snap.javatree.JNodeaddChild, 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
 
- 
 
- 
- 
- 
Method Detail- 
getTypepublic JType getType() Returns the field type.
 - 
setTypepublic void setType(JType aType) Sets the field type.
 - 
getVariableDeclspublic java.util.List<JVariableDecl> getVariableDecls() Returns the VariableDecls.
 - 
getVariableDeclInsidepublic JVariableDecl getVariableDeclInside(java.lang.String aName) Returns a variable with given name.- Overrides:
- getVariableDeclInsidein class- JNode
 
 - 
getNodeStringpublic java.lang.String getNodeString() Returns the part name.- Overrides:
- getNodeStringin class- JNode
 
 
- 
 
-