Class JClassStaticDecl
- java.lang.Object
-
- com.inductiveautomation.snap.javatree.JNode
-
- com.inductiveautomation.snap.javatree.JMemberDecl
-
- com.inductiveautomation.snap.javatree.JClassStaticDecl
-
public class JClassStaticDecl extends JMemberDecl
A JMemberDecl for Initializers.
-
-
Constructor Summary
Constructors Constructor Description JClassStaticDecl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JStmtBlock
getBlock()
Returns the statement block.boolean
isStatic()
Returns whether is static.void
setBlock(JStmtBlock aBlock)
Sets the statement block.void
setStatic(boolean aValue)
Sets whether is static.-
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, getChild, getChildCount, getChildren, getClassLoader, getClassName, getClassNameImpl, getClassRef, getClassRefImpl, getEnclosingClassDecl, getEnclosingMemberDecl, getEnclosingMethodDecl, getEnd, getEndToken, getFile, getJClass, getLineIndex, getName, getNodeAtCharIndex, getNodeFields, getNodeFieldsImpl, getNodeParents, getNodePath, getNodeString, getOthers, getParent, getParent, getReferencedClasses, getReferencedClassNames, getReferencedClassNames, getReferencedClassNames, getStart, getStartToken, getString, getVariableDecl, getVariableDeclInside, getVariableDecls, isBlock, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
-
-
-
-
Method Detail
-
isStatic
public boolean isStatic()
Returns whether is static.
-
setStatic
public void setStatic(boolean aValue)
Sets whether is static.
-
getBlock
public JStmtBlock getBlock()
Returns the statement block.
-
setBlock
public void setBlock(JStmtBlock aBlock)
Sets the statement block.
-
-