@Module public class ClassType extends BaseType
BaseType.ClassFill
Modifier and Type | Field and Description |
---|---|
static ObjectType |
OBJECT_TYPE |
Modifier | Constructor and Description |
---|---|
protected |
ClassType(java.lang.Class<?> type) |
Modifier and Type | Method and Description |
---|---|
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() |
create, create, createClass, createForSource, createForTarget, createGenericClass, extendGenericType, fillSyntheticTypes, getBaseTypeClosure, getParameters, getParamMap, getSimpleName, getTypeClosure, getWildcardBounds, isGeneric, isGenericRaw, isGenericVariable, isObject, isPrimitive, isVariable, isWildcard
public static final ObjectType OBJECT_TYPE
public static ClassType create(java.lang.Class<?> type)
public java.lang.Class<?> getRawClass()
getRawClass
in class BaseType
public boolean isAssignableFrom(BaseType type)
isAssignableFrom
in class BaseType
public boolean isParamAssignableFrom(BaseType type)
BaseType
isParamAssignableFrom
in class BaseType
public void fillTypeClosure(InjectManager manager, java.util.Set<java.lang.reflect.Type> typeSet)
fillTypeClosure
in class BaseType
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object