public interface JavaElement extends Element
Modifier and Type | Field and Description |
---|---|
static JavaElement[] |
EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
int |
getElementKind() |
JavaFile |
getFile() |
int |
getModifiers() |
JavaElement |
getOwner()
Finds the owner of this JavaElement, which is the closest named
ancestor found, such as a JavaClass, JavaMethod, JavaField, etc.
|
SourceElement |
getSourceElement() |
boolean |
isDeprecated() |
boolean |
isFinal() |
boolean |
isHidden() |
boolean |
isSourceElement()
Determine if this IS a SourceElement in which case this JavaElement
can be cast to a SourceElement.
|
boolean |
isSynthetic() |
java.lang.String |
printCompiledInfo()
Debugging function for printing out compiled information.
|
static final JavaElement[] EMPTY_ARRAY
int getElementKind()
JavaFile getFile()
JavaElement getOwner()
boolean isSourceElement()
SourceElement getSourceElement()
int getModifiers()
boolean isFinal()
boolean isSynthetic()
boolean isHidden()
boolean isDeprecated()
java.lang.String printCompiledInfo()