Class TypeResolver.TypeVariableKey

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.reflect.TypeVariable<?> var  
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeVariableKey​(java.lang.reflect.TypeVariable<?> var)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      (package private) boolean equalsType​(java.lang.reflect.Type type)
      Returns true if type is a TypeVariable with the same name and declared by the same GenericDeclaration.
      private boolean equalsTypeVariable​(java.lang.reflect.TypeVariable<?> that)  
      (package private) static TypeResolver.TypeVariableKey forLookup​(java.lang.reflect.Type t)
      Wraps t in a TypeVariableKey if it's a type variable.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • var

        private final java.lang.reflect.TypeVariable<?> var
    • Constructor Detail

      • TypeVariableKey

        TypeVariableKey​(java.lang.reflect.TypeVariable<?> var)
    • Method Detail

      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • forLookup

        static TypeResolver.TypeVariableKey forLookup​(java.lang.reflect.Type t)
        Wraps t in a TypeVariableKey if it's a type variable.
      • equalsType

        boolean equalsType​(java.lang.reflect.Type type)
        Returns true if type is a TypeVariable with the same name and declared by the same GenericDeclaration.
      • equalsTypeVariable

        private boolean equalsTypeVariable​(java.lang.reflect.TypeVariable<?> that)