| |
|
| xtc.type.Type xtc.type.WrappedT xtc.type.InstantiatedT
InstantiatedT | public class InstantiatedT extends WrappedT (Code) | | An instantiated type.
author: Robert Grimm version: $Revision: 1.4 $ |
InstantiatedT | public InstantiatedT(Type argument, Type type)(Code) | | Create a new instantiated type. The specified type must contain
a parameterized type with a single parameter.
Parameters: argument - The argument. Parameters: type - The type. throws: IllegalArgumentException - Signals that the specified typedoes not contain a parameterized type or that the number ofarguments does not match the parameterized type's number ofparameters. |
InstantiatedT | public InstantiatedT(List<Type> arguments, Type type)(Code) | | Create a new instantiated type. The specified type must contain
a parameterized type with the same number of parameters as the
specified arguments.
Parameters: arguments - The arguments. Parameters: type - The type. throws: IllegalArgumentException - Signals that the specified typedoes not contain a parameterized type or that the number ofarguments does not match the parameterized type's number ofparameters. |
InstantiatedT | public InstantiatedT(Type template, List<Type> arguments, Type type)(Code) | | Create a new instantiated type.
Parameters: template - The type whose annotations to copy. Parameters: arguments - The arguments. Parameters: type - The type. throws: IllegalArgumentException - Signals that the specified typedoes not contain a parameterized type or that the number ofarguments does not match the parameterized type's number ofparameters. |
equals | public boolean equals(Object o)(Code) | | Determine whether this type equals the specified object. This
instantiated type equals the specified object if the object is an
equal wrapped type instantiated with equal types.
Parameters: o - The object. true if this type equals the specifiedobject. |
getArguments | public List<Type> getArguments()(Code) | | Get this instantiated type's arguments.
The arguments. |
hasInstantiated | public boolean hasInstantiated()(Code) | | |
isInstantiated | public boolean isInstantiated()(Code) | | |
|
|
|