|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HasModifiersT
Common supertype for elements that may have modifiers. Note that an annotation is considered a modifier.
Field Summary |
---|
Fields inherited from interface javax.ide.model.java.source.tree.Tree |
---|
EMPTY_ARRAY |
Method Summary | |
---|---|
void |
addModifiers(int modifiers)
Adds the modifiers except for INTERFACE, ENUM, and ANNOTATION. |
java.util.List |
getAnnotations()
Gets the list of annotations. |
int |
getModifiers()
Gets the modifiers. |
boolean |
isAbstract()
True if this is abstract. |
boolean |
isFinal()
True if this is final. |
boolean |
isPrivate()
True if this is private. |
boolean |
isProtected()
True if this is protected. |
boolean |
isPublic()
True if this is public. |
boolean |
isStatic()
True if this is static. |
boolean |
isStrictfp()
True if this is strictfp. |
void |
removeModifiers(int modifiers)
Removes the modifiers. |
void |
setModifiers(int modifiers)
Sets the modifiers except for INTERFACE, ENUM, and ANNOTATION. |
Methods inherited from interface javax.ide.model.java.source.tree.Tree |
---|
accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty |
Method Detail |
---|
int getModifiers()
void addModifiers(int modifiers)
modifiers
- Valid values come from JavaConstants.ACC_* and are
determined on a per-node basis.
The following modifiers are always ignored:
ACC_INTERFACE, ACC_ENUM, ACC_ANNOTATION. In order
to set them, you must use the special setter
ClassT.setTypeKind(I).
java.lang.UnsupportedOperationException
- if this operation is illegal.void setModifiers(int modifiers)
modifiers
- Valid values come from JavaConstants.ACC_* and are
determined on a per-node basis.
The following modifiers are always ignored:
ACC_INTERFACE, ACC_ENUM, ACC_ANNOTATION. In order
to set them, you must use the special setter
ClassT.setTypeKind(I).
java.lang.UnsupportedOperationException
- if this operation is illegal.void removeModifiers(int modifiers)
modifiers
- Valid values come from JavaConstants.ACC_* and are
determined on a per-node basis.
java.lang.UnsupportedOperationException
- if this operation is illegal.java.util.List getAnnotations()
boolean isPublic()
boolean isPrivate()
boolean isProtected()
boolean isStatic()
boolean isFinal()
boolean isAbstract()
boolean isStrictfp()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |