| |
|
| de.uka.ilkd.key.java.declaration.JavaDeclaration de.uka.ilkd.key.java.declaration.VariableDeclaration de.uka.ilkd.key.java.declaration.FieldDeclaration
Field Summary | |
final protected ArrayOfFieldSpecification | fieldSpecs Field specs. |
fieldSpecs | final protected ArrayOfFieldSpecification fieldSpecs(Code) | | Field specs.
|
FieldDeclaration | public FieldDeclaration(Modifier[] mods, TypeReference typeRef, FieldSpecification[] vars, boolean parentIsInterfaceDeclaration)(Code) | | Field declaration.
Parameters: mods - a modifier mutable list. Parameters: typeRef - a type reference. Parameters: vars - a variable specification array. Parameters: parentIsInterfaceDeclaration - a boolean set true iff parent is an InterfaceDeclaration |
FieldDeclaration | public FieldDeclaration(ExtList children, boolean parentIsInterfaceDeclaration)(Code) | | Field declaration.
Parameters: children - an ExtList of children. May include:several FieldSpecification (for the field)a TypeReference (as reference to the type of the declared variable)several Modifier (taken as modifiers of the declaration), a Comment Parameters: parentIsInterfaceDeclaration - a boolean set true |
getChildAt | public ProgramElement getChildAt(int index)(Code) | | Returns the child at the specified index in this node's "virtual"
child array
Parameters: index - an index into this node's "virtual" child array the program element at the given position exception: ArrayIndexOutOfBoundsException - if index is outof bounds |
getChildCount | public int getChildCount()(Code) | | Returns the number of children of this node.
an int giving the number of children of this node |
getFieldSpecifications | public ArrayOfFieldSpecification getFieldSpecifications()(Code) | | |
getVariables | public ArrayOfVariableSpecification getVariables()(Code) | | |
isFinal | public boolean isFinal()(Code) | | Test whether the declaration is final. Fields of interfaces are
always final.
|
isPrivate | public boolean isPrivate()(Code) | | Test whether the declaration is private.
|
isProtected | public boolean isProtected()(Code) | | Test whether the declaration is protected.
|
isPublic | public boolean isPublic()(Code) | | Test whether the declaration is public. Fields of interfaces
are always public.
|
isStatic | public boolean isStatic()(Code) | | Test whether the declaration is static. Fields of interfaces
are always static.
|
isStrictFp | public boolean isStrictFp()(Code) | | Test whether the declaration is strict FP.
|
isTransient | public boolean isTransient()(Code) | | Test whether the declaration is transient.
|
visit | public void visit(Visitor v)(Code) | | calls the corresponding method of a visitor in order to
perform some action/transformation on this element
Parameters: v - the Visitor |
Fields inherited from de.uka.ilkd.key.java.declaration.JavaDeclaration | final protected ArrayOfModifier modArray(Code)(Java Doc)
|
|
|
|