|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Qualifier
A Qualifier
can be used to qualify a type: it can be either
a package or a named class type.
Method Summary | |
---|---|
boolean |
isPackage()
Return true if the qualifier is a package. |
boolean |
isType()
Return true if the qualifier is a type. |
Package |
toPackage()
Cast the qualifier to a package, or return null. |
Type |
toType()
Cast the qualifier to a type, or return null. |
Methods inherited from interface polyglot.types.TypeObject |
---|
equalsImpl, isCanonical, position, typeSystem |
Methods inherited from interface polyglot.util.Copy |
---|
copy |
Method Detail |
---|
boolean isPackage()
Package toPackage()
boolean isType()
Type toType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |