|
Eclipse JDT Release 3.1 |
|||||||||||
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 |
---|
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, getJavaElement, getKey, getKind, getModifiers, isDeprecated, isEqualTo, isSynthetic, toString |
Method Detail |
public String getName()
getName
in interface IBinding
public boolean isUnnamed()
true
if this is an unnamed package, and
false
otherwisepublic String[] getNameComponents()
|
Eclipse JDT Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |