public class JFieldDecl extends JMemberDecl
Constructor and Description |
---|
JFieldDecl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNodeString()
Returns the part name.
|
JType |
getType()
Returns the field type.
|
JVariableDecl |
getVariableDeclInside(java.lang.String aName)
Returns a variable with given name.
|
java.util.List<JVariableDecl> |
getVariableDecls()
Returns the VariableDecls.
|
void |
setType(JType aType)
Sets the field type.
|
getDeclaringClass, getIdentifier, getModifiers, getNameImpl, getSuperMember, getSuperMemberImpl, getTypeParameter, getTypeParameters, setIdentifier, setModifiers
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
public JType getType()
public void setType(JType aType)
public java.util.List<JVariableDecl> getVariableDecls()
public JVariableDecl getVariableDeclInside(java.lang.String aName)
getVariableDeclInside
in class JNode
public java.lang.String getNodeString()
getNodeString
in class JNode