|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CompiledImport
A traditional narrow import declaration imports a single type.
A traditional wide import declaration imports potentially all the types in the qualifying package or qualifying type. For our purposes, the root package is the implicit qualifier if no qualifying element is present in the declaration (i.e. no dot).
A static narrow import declaration imports all member types, fields, and methods of the given name from the qualifying type.
Top-level types may not be imported in this fashion. A static wide import declaration imports potentially all the member types, fields, and methods from the qualifying type. Top-level types may not be imported in this fashion.
Field Summary |
---|
Fields inherited from interface oracle.javatools.parser.java.v2.model.JavaElement |
---|
EMPTY_ARRAY |
Method Summary | |
---|---|
JavaHasType |
getImportedElementAt(int index) |
int |
getImportedElementCount() |
java.util.Collection |
getImportedElements() |
JavaClass |
getQualifyingType() If this import is a static import, then there must be a qualifying type. |
boolean |
isStatic() |
boolean |
isUsed() |
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaHasName |
---|
getName |
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaElement |
---|
getElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo |
Method Detail |
---|
boolean isStatic()
boolean isUsed()
java.util.Collection getImportedElements()
int getImportedElementCount()
JavaHasType getImportedElementAt(int index)
index
- 0-basedJavaClass getQualifyingType()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |