Class GenericArrayTypeImpl

java.lang.Object
org.jvnet.tiger_types.GenericArrayTypeImpl
All Implemented Interfaces:
GenericArrayType, Type

final class GenericArrayTypeImpl extends Object implements GenericArrayType
Implementation of GenericArrayType interface for core reflection.
  • Field Details

    • genericComponentType

      private Type genericComponentType
  • Constructor Details

    • GenericArrayTypeImpl

      GenericArrayTypeImpl(Type ct)
  • Method Details

    • getGenericComponentType

      public Type getGenericComponentType()
      Returns a Type object representing the component type of this array.
      Specified by:
      getGenericComponentType in interface GenericArrayType
      Returns:
      a Type object representing the component type of this array
      Since:
      1.5
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object