com.caucho.config.reflect
Class ClassType

java.lang.Object
  extended by com.caucho.config.reflect.BaseType
      extended by com.caucho.config.reflect.ClassType
Direct Known Subclasses:
BoxType, ObjectType

@Module
public class ClassType
extends BaseType

class type matching


Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.config.reflect.BaseType
BaseType.ClassFill
 
Field Summary
static ObjectType OBJECT_TYPE
           
 
Constructor Summary
protected ClassType(java.lang.Class<?> type)
           
 
Method Summary
static ClassType create(java.lang.Class<?> type)
           
 boolean equals(java.lang.Object o)
           
 BaseType fill(BaseType... baseType)
          Fills in a parameter with a given name.
 void fillTypeClosure(InjectManager manager, java.util.Set<java.lang.reflect.Type> typeSet)
           
 java.lang.Class<?> getRawClass()
           
 int hashCode()
           
 boolean isAssignableFrom(BaseType type)
           
 boolean isParamAssignableFrom(BaseType type)
          Assignable as a parameter.
 java.lang.String toString()
           
 java.lang.reflect.Type toType()
           
 
Methods inherited from class com.caucho.config.reflect.BaseType
create, create, createClass, createForSource, createForTarget, createGenericClass, fillSyntheticTypes, getBaseTypeClosure, getParameters, getParamMap, getSimpleName, getTypeClosure, getWildcardBounds, isGeneric, isGenericRaw, isGenericVariable, isObject, isPrimitive, isVariable, isWildcard
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

OBJECT_TYPE

public static final ObjectType OBJECT_TYPE
Constructor Detail

ClassType

protected ClassType(java.lang.Class<?> type)
Method Detail

create

public static ClassType create(java.lang.Class<?> type)

getRawClass

public java.lang.Class<?> getRawClass()
Specified by:
getRawClass in class BaseType

toType

public java.lang.reflect.Type toType()
Overrides:
toType in class BaseType

isAssignableFrom

public boolean isAssignableFrom(BaseType type)
Overrides:
isAssignableFrom in class BaseType

isParamAssignableFrom

public boolean isParamAssignableFrom(BaseType type)
Description copied from class: BaseType
Assignable as a parameter.

Overrides:
isParamAssignableFrom in class BaseType

fill

public BaseType fill(BaseType... baseType)
Fills in a parameter with a given name.

Overrides:
fill in class BaseType

fillTypeClosure

public void fillTypeClosure(InjectManager manager,
                            java.util.Set<java.lang.reflect.Type> typeSet)
Overrides:
fillTypeClosure in class BaseType

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class BaseType