com.caucho.config.reflect
Class BoxType

java.lang.Object
  extended by com.caucho.config.reflect.BaseType
      extended by com.caucho.config.reflect.ClassType
          extended by com.caucho.config.reflect.BoxType

@Module
public class BoxType
extends ClassType

class type matching


Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.config.reflect.BaseType
BaseType.ClassFill
 
Field Summary
 
Fields inherited from class com.caucho.config.reflect.ClassType
OBJECT_TYPE
 
Constructor Summary
BoxType(java.lang.Class<?> type, java.lang.Class<?> boxType)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 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.
 boolean isPrimitive()
           
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.config.reflect.ClassType
create, fill, 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, isVariable, isWildcard
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BoxType

public BoxType(java.lang.Class<?> type,
               java.lang.Class<?> boxType)
Method Detail

getRawClass

public java.lang.Class<?> getRawClass()
Overrides:
getRawClass in class ClassType

isParamAssignableFrom

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

Overrides:
isParamAssignableFrom in class ClassType

isAssignableFrom

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

isPrimitive

public boolean isPrimitive()
Overrides:
isPrimitive in class BaseType

fillTypeClosure

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

hashCode

public int hashCode()
Overrides:
hashCode in class ClassType

equals

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

toString

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