com.caucho.config.reflect
Class BoxType
java.lang.Object
com.caucho.config.reflect.BaseType
com.caucho.config.reflect.ClassType
com.caucho.config.reflect.BoxType
@Module
public class BoxType
- extends ClassType
class type matching
Constructor Summary |
BoxType(java.lang.Class<?> type,
java.lang.Class<?> boxType)
|
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 |
BoxType
public BoxType(java.lang.Class<?> type,
java.lang.Class<?> boxType)
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