Class JStmtVariableDecl
- java.lang.Object
-
- com.inductiveautomation.snap.javatree.JNode
-
- com.inductiveautomation.snap.javatree.JStmt
-
- com.inductiveautomation.snap.javatree.JStmtVariableDecl
-
public class JStmtVariableDecl extends JStmt
A Java statement for LocalVariableDeclaration.
-
-
Field Summary
Fields Modifier and Type Field Description int
modifiers
JType
type
java.util.List<JVariableDecl>
variables
-
Constructor Summary
Constructors Constructor Description JStmtVariableDecl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JVariableDecl
getVariableDeclInside(java.lang.String aName)
Returns a variable with given name.-
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, getNameImpl, getNodeAtCharIndex, getNodeFields, getNodeFieldsImpl, getNodeParents, getNodePath, getNodeString, getOthers, getParent, getParent, getReferencedClasses, getReferencedClassNames, getReferencedClassNames, getReferencedClassNames, getStart, getStartToken, getString, getVariableDecl, getVariableDecls, isBlock, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
-
-
-
-
Field Detail
-
modifiers
public int modifiers
-
type
public JType type
-
variables
public java.util.List<JVariableDecl> variables
-
-
Method Detail
-
getVariableDeclInside
public JVariableDecl getVariableDeclInside(java.lang.String aName)
Returns a variable with given name.- Overrides:
getVariableDeclInside
in classJNode
-
-