com.caucho.config.reflect
Class ArrayType

java.lang.Object
  extended by com.caucho.config.reflect.BaseType
      extended by com.caucho.config.reflect.ArrayType
All Implemented Interfaces:
java.lang.reflect.GenericArrayType, java.lang.reflect.Type

@Module
public class ArrayType
extends BaseType
implements java.lang.reflect.GenericArrayType

class type matching


Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.config.reflect.BaseType
BaseType.ClassFill
 
Constructor Summary
ArrayType(BaseType componentType, java.lang.Class<?> rawType)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
protected  void fillTypeClosure(InjectManager manager, java.util.Set<java.lang.reflect.Type> typeSet)
           
 java.lang.reflect.Type getGenericComponentType()
           
 java.lang.Class<?> getRawClass()
           
 java.lang.String getSimpleName()
           
 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, fill, fillSyntheticTypes, getBaseTypeClosure, getParameters, getParamMap, getTypeClosure, getWildcardBounds, isGeneric, isGenericRaw, isGenericVariable, isObject, isPrimitive, isVariable, isWildcard
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayType

public ArrayType(BaseType componentType,
                 java.lang.Class<?> rawType)
Method Detail

getRawClass

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

getGenericComponentType

public java.lang.reflect.Type getGenericComponentType()
Specified by:
getGenericComponentType in interface java.lang.reflect.GenericArrayType

toType

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

isParamAssignableFrom

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

Overrides:
isParamAssignableFrom in class BaseType

fillTypeClosure

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

isAssignableFrom

public boolean isAssignableFrom(BaseType type)
Overrides:
isAssignableFrom 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

getSimpleName

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

toString

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