@Module public class ParamType extends BaseType implements java.lang.reflect.ParameterizedType
BaseType.ClassFill
Constructor and Description |
---|
ParamType(java.lang.Class<?> type,
BaseType[] param,
java.util.HashMap<java.lang.String,BaseType> paramMap) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
BaseType |
extendGenericType()
Convert Foo
|
BaseType |
fill(BaseType... types)
Fills in a parameter with a given name.
|
void |
fillSyntheticTypes(java.util.Set<VarType<?>> varTypeList) |
protected void |
fillTypeClosure(InjectManager manager,
java.util.Set<java.lang.reflect.Type> typeSet) |
java.lang.reflect.Type[] |
getActualTypeArguments() |
java.lang.reflect.Type |
getOwnerType() |
BaseType[] |
getParameters() |
java.util.HashMap<java.lang.String,BaseType> |
getParamMap() |
java.lang.Class<?> |
getRawClass() |
java.lang.reflect.Type |
getRawType() |
java.lang.String |
getSimpleName() |
int |
hashCode() |
boolean |
isAssignableFrom(BaseType type) |
boolean |
isGeneric()
Returns true for a generic type like MyBean
|
boolean |
isGenericVariable()
Returns true for a generic variable type like MyBean
|
boolean |
isParamAssignableFrom(BaseType type)
Assignable as a parameter.
|
java.lang.String |
toString() |
java.lang.reflect.Type |
toType() |
create, create, createClass, createForSource, createForTarget, createGenericClass, getBaseTypeClosure, getTypeClosure, getWildcardBounds, isGenericRaw, isObject, isPrimitive, isVariable, isWildcard
public java.lang.Class<?> getRawClass()
getRawClass
in class BaseType
public java.lang.reflect.Type[] getActualTypeArguments()
getActualTypeArguments
in interface java.lang.reflect.ParameterizedType
public java.lang.reflect.Type getOwnerType()
getOwnerType
in interface java.lang.reflect.ParameterizedType
public BaseType[] getParameters()
getParameters
in class BaseType
public boolean isGeneric()
BaseType
public boolean isGenericVariable()
BaseType
isGenericVariable
in class BaseType
public java.util.HashMap<java.lang.String,BaseType> getParamMap()
getParamMap
in class BaseType
public java.lang.reflect.Type getRawType()
getRawType
in interface java.lang.reflect.ParameterizedType
protected void fillTypeClosure(InjectManager manager, java.util.Set<java.lang.reflect.Type> typeSet)
fillTypeClosure
in class BaseType
public BaseType fill(BaseType... types)
BaseType
public void fillSyntheticTypes(java.util.Set<VarType<?>> varTypeList)
fillSyntheticTypes
in class BaseType
public boolean isAssignableFrom(BaseType type)
isAssignableFrom
in class BaseType
public boolean isParamAssignableFrom(BaseType type)
BaseType
isParamAssignableFrom
in class BaseType
public BaseType extendGenericType()
extendGenericType
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
public java.lang.String getSimpleName()
getSimpleName
in class BaseType