|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPackageBinding
A package binding represents a named or unnamed package.
This interface is not intended to be implemented by clients.
Note: This Class only applies to ECMAScript 4 which is not yet supported
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Field Summary |
---|
Fields inherited from interface org.eclipse.wst.jsdt.core.dom.IBinding |
---|
METHOD, PACKAGE, TYPE, VARIABLE |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of the package represented by this binding. |
java.lang.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.wst.jsdt.core.dom.IBinding |
---|
equals, getJavaElement, getKey, getKind, getModifiers, isDeprecated, isEqualTo, isRecovered, isSynthetic, toString |
Method Detail |
---|
java.lang.String getName()
getName
in interface IBinding
boolean isUnnamed()
true
if this is an unnamed package, and
false
otherwisejava.lang.String[] getNameComponents()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |