| |
|
| xtc.type.Type xtc.type.WrappedT
All known Subclasses: xtc.type.EnumT, xtc.type.AliasT, xtc.type.VariableT, xtc.type.EnumeratorT, xtc.type.ParameterizedT, xtc.type.AnnotatedT, xtc.type.InstantiatedT,
WrappedT | abstract public class WrappedT extends Type (Code) | | The superclass of all wrapped types. A wrapped type adds (mostly)
symbolic information to another, more basic type.
author: Robert Grimm version: $Revision: 1.36 $ |
Constructor Summary | |
public | WrappedT(Type type) Create a new wrapped type. | public | WrappedT(Type template, Type type) Create a new wrapped type. |
WrappedT | public WrappedT(Type type)(Code) | | Create a new wrapped type.
Parameters: type - The actual type. |
WrappedT | public WrappedT(Type template, Type type)(Code) | | Create a new wrapped type.
Parameters: template - The type whose annotations to copy. Parameters: type - The actual type. |
equals | public boolean equals(Object o)(Code) | | Determine whether this type equals the specified object. This
method forwards the method invocation to the wrapped type.
Parameters: o - The object. true if this type equals the object. |
getType | public Type getType()(Code) | | Get the type.
The type. |
hasAlias | public boolean hasAlias()(Code) | | |
hasAnnotated | public boolean hasAnnotated()(Code) | | |
hasAttribute | public boolean hasAttribute(Attribute att, boolean forward)(Code) | | |
hasConstant | public boolean hasConstant(boolean forward)(Code) | | |
hasEnum | public boolean hasEnum()(Code) | | |
hasEnumerator | public boolean hasEnumerator()(Code) | | |
hasInstantiated | public boolean hasInstantiated()(Code) | | |
hasLanguage | public boolean hasLanguage(boolean forward)(Code) | | |
hasLocation | public boolean hasLocation(boolean forward)(Code) | | |
hasParameterized | public boolean hasParameterized()(Code) | | |
hasScope | public boolean hasScope(boolean forward)(Code) | | |
hasShape | public boolean hasShape(boolean forward)(Code) | | |
hasTagged | public boolean hasTagged()(Code) | | |
hasVariable | public boolean hasVariable()(Code) | | |
hashCode | public int hashCode()(Code) | | Get this type's hash code. This method forwards the method
invocation to the wrapped type.
The hash code. |
isWrapped | public boolean isWrapped()(Code) | | |
|
|
|