|
Eclipse JDT Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
A package binding represents a named or unnamed package.
This interface is not intended to be implemented by clients.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jdt.core.dom.IBinding |
|---|
ANNOTATION, MEMBER_VALUE_PAIR, METHOD, PACKAGE, TYPE, VARIABLE |
| Method Summary | |
|---|---|
String |
getName()
Returns the name of the package represented by this binding. |
String[] |
getNameComponents()
Returns the list of name component making up the name of the package represented by this binding. |
boolean |
isUnnamed()
Returns whether this package is an unnamed package. |
| Methods inherited from interface org.eclipse.jdt.core.dom.IBinding |
|---|
equals, getAnnotations, getJavaElement, getKey, getKind, getModifiers, isDeprecated, isEqualTo, isRecovered, isSynthetic, toString |
| Method Detail |
public String getName()
getName in interface IBindingpublic boolean isUnnamed()
true if this is an unnamed package, and
false otherwisepublic String[] getNameComponents()
|
Eclipse JDT Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||