| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SourceHasModifiers
A SourceElement that may have modifiers. Note that an annotation is considered a modifier.
| Field Summary | 
|---|
| Fields inherited from interface oracle.javatools.parser.java.v2.model.SourceElement | 
|---|
| CHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, EMPTY_ARRAY, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT | 
| Method Summary | |
|---|---|
|  void | addModifiers(int modifiers)Adds the modifiers except for INTERFACE, ENUM, and ANNOTATION. | 
|  int | getModifiers()Gets the modifiers. | 
|  java.util.List<SourceAnnotation> | getSourceAnnotations()Gets the list of annotations. | 
|  void | removeModifiers(int modifiers)Removes the modifiers. | 
|  void | setModifiers(int modifiers)Sets the modifiers except for INTERFACE, ENUM, and ANNOTATION. | 
| Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceElement | 
|---|
| addSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, hasErrors, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelf | 
| 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
                  SourceClass.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
                  SourceClass.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<SourceAnnotation> getSourceAnnotations()
| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||