Package org.jvnet.tiger_types
Class GenericArrayTypeImpl
- java.lang.Object
-
- org.jvnet.tiger_types.GenericArrayTypeImpl
-
- All Implemented Interfaces:
java.lang.reflect.GenericArrayType
,java.lang.reflect.Type
final class GenericArrayTypeImpl extends java.lang.Object implements java.lang.reflect.GenericArrayType
Implementation of GenericArrayType interface for core reflection.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.reflect.Type
genericComponentType
-
Constructor Summary
Constructors Constructor Description GenericArrayTypeImpl(java.lang.reflect.Type ct)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.reflect.Type
getGenericComponentType()
Returns a Type object representing the component type of this array.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getGenericComponentType
public java.lang.reflect.Type getGenericComponentType()
Returns a Type object representing the component type of this array.- Specified by:
getGenericComponentType
in interfacejava.lang.reflect.GenericArrayType
- Returns:
- a Type object representing the component type of this array
- Since:
- 1.5
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-