| de.uka.ilkd.key.java.JavaNonTerminalProgramElement de.uka.ilkd.key.java.declaration.JavaDeclaration
All known Subclasses: de.uka.ilkd.key.java.declaration.MethodDeclaration, de.uka.ilkd.key.java.declaration.VariableDeclaration, de.uka.ilkd.key.java.declaration.TypeDeclaration, de.uka.ilkd.key.java.declaration.ClassInitializer,
Field Summary | |
final protected ArrayOfModifier | modArray Modifiers.
caches the wrapper for the modifiers. |
Method Summary | |
public ArrayOfModifier | getModifiers() Get modifiers. | public VisibilityModifier | getVisibilityModifier() Returns a Public, Protected, or Private Modifier, if there
is one, null otherwise. | protected boolean | isAbstract() Test whether the declaration is abstract. | protected boolean | isFinal() Test whether the declaration is final. | protected boolean | isModel() Test whether the declaration is model (the jml modifier is meant). | protected boolean | isNative() Test whether the declaration is native. | protected boolean | isPrivate() Test whether the declaration is private. | protected boolean | isProtected() Test whether the declaration is protected. | protected boolean | isPublic() Test whether the declaration is public. | protected boolean | isStatic() Test whether the declaration is static. | protected boolean | isStrictFp() Test whether the declaration is strictfp. | protected boolean | isSynchronized() Test whether the declaration is synchronized. | protected boolean | isTransient() Test whether the declaration is transient. | protected boolean | isVolatile() Test whether the declaration is volatile. |
modArray | final protected ArrayOfModifier modArray(Code) | | Modifiers.
caches the wrapper for the modifiers. The wrapper is needed to get access
to the array without hurting immutabilitiy
|
JavaDeclaration | public JavaDeclaration()(Code) | | Java declaration.
|
JavaDeclaration | public JavaDeclaration(ArrayOfModifier mods)(Code) | | |
JavaDeclaration | public JavaDeclaration(ExtList children)(Code) | | Constructor for the transformation of COMPOST ASTs to KeY.
Parameters: children - the children of this AST element as KeY classes. Mayinclude: several Modifier (taken as modifiers of the declaration), a Comment |
getModifiers | public ArrayOfModifier getModifiers()(Code) | | Get modifiers.
the modifier array wrapper. |
getVisibilityModifier | public VisibilityModifier getVisibilityModifier()(Code) | | Returns a Public, Protected, or Private Modifier, if there
is one, null otherwise. A return value of null can usually be
interpreted as package visibility.
|
isAbstract | protected boolean isAbstract()(Code) | | Test whether the declaration is abstract.
|
isFinal | protected boolean isFinal()(Code) | | Test whether the declaration is final.
|
isModel | protected boolean isModel()(Code) | | Test whether the declaration is model (the jml modifier is meant).
|
isNative | protected boolean isNative()(Code) | | Test whether the declaration is native.
|
isPrivate | protected boolean isPrivate()(Code) | | Test whether the declaration is private.
|
isProtected | protected boolean isProtected()(Code) | | Test whether the declaration is protected.
|
isPublic | protected boolean isPublic()(Code) | | Test whether the declaration is public.
|
isStatic | protected boolean isStatic()(Code) | | Test whether the declaration is static.
|
isStrictFp | protected boolean isStrictFp()(Code) | | Test whether the declaration is strictfp.
|
isSynchronized | protected boolean isSynchronized()(Code) | | Test whether the declaration is synchronized.
|
isTransient | protected boolean isTransient()(Code) | | Test whether the declaration is transient.
|
isVolatile | protected boolean isVolatile()(Code) | | Test whether the declaration is volatile.
|
|
|