|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.src.Import
Represents one class or package import.
Field Summary | |
static boolean |
CLASS
A class import. |
static boolean |
PACKAGE
A package import. |
Constructor Summary | |
Import(Identifier id,
boolean wholePackage)
Create an import. |
Method Summary | |
boolean |
equals(Object o)
|
Identifier |
getIdentifier()
Get the name of the import. |
int |
hashCode()
|
boolean |
isClass()
Is this a class import? |
boolean |
isPackage()
Is this a package import? |
String |
toString()
Get this import as a string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final boolean PACKAGE
public static final boolean CLASS
Constructor Detail |
public Import(Identifier id, boolean wholePackage)
id
- the name of the class or package importedwholePackage
- one of PACKAGE
or CLASS
Method Detail |
public boolean isPackage()
true
if sopublic boolean isClass()
true
if sopublic Identifier getIdentifier()
public String toString()
import com.mycom.Class
or import com.mycom.*
public int hashCode()
public boolean equals(Object o)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |