Class 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • genericComponentType

        private java.lang.reflect.Type genericComponentType
    • Constructor Detail

      • GenericArrayTypeImpl

        GenericArrayTypeImpl​(java.lang.reflect.Type ct)
    • Method Detail

      • getGenericComponentType

        public java.lang.reflect.Type getGenericComponentType()
        Returns a Type object representing the component type of this array.
        Specified by:
        getGenericComponentType in interface java.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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object