polyglot.ext.jl.types
Class UnknownPackage_c
java.lang.Object
polyglot.ext.jl.types.TypeObject_c
polyglot.ext.jl.types.Package_c
polyglot.ext.jl.types.UnknownPackage_c
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Named, Package, Qualifier, TypeObject, UnknownPackage, Copy
public class UnknownPackage_c
- extends Package_c
- implements UnknownPackage
An unknown type. This is used as a place-holder until types are
disambiguated.
- See Also:
- Serialized Form
Method Summary |
boolean |
isCanonical()
Return true if the type object contains no unknown/ambiguous types. |
java.lang.String |
toString()
|
java.lang.String |
translate(Resolver c)
Return a string that is the translation of this package. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface polyglot.util.Copy |
copy |
Methods inherited from interface polyglot.util.Copy |
copy |
UnknownPackage_c
protected UnknownPackage_c()
- Used for deserializing types.
UnknownPackage_c
public UnknownPackage_c(TypeSystem ts)
- Creates a new type in the given a TypeSystem.
isCanonical
public boolean isCanonical()
- Description copied from interface:
TypeObject
- Return true if the type object contains no unknown/ambiguous types.
- Specified by:
isCanonical
in interface TypeObject
- Overrides:
isCanonical
in class Package_c
translate
public java.lang.String translate(Resolver c)
- Description copied from interface:
Package
- Return a string that is the translation of this package.
- Specified by:
translate
in interface Package
- Overrides:
translate
in class Package_c
- Parameters:
c
- A resolver in which to look up the package.
toString
public java.lang.String toString()
- Overrides:
toString
in class Package_c