public interface Qualifier extends TypeObject
Qualifier
can be used to qualify a type: it can be either
a package or a named class type.Modifier and Type | Method and Description |
---|---|
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.
|
equalsImpl, isCanonical, position, typeSystem
boolean isPackage()
Package toPackage()
boolean isType()
Type toType()