Class ResolvedType

    • Method Detail

      • erasedType

        public Class<?> erasedType()
      • isArray

        public boolean isArray()
      • typeParametersFor

        public List<ResolvedType> typeParametersFor​(Class<?> erasedSupertype)
        Method that will try to find type parameterization this type has for specified super type
        Returns:
        List of type parameters for specified supertype (which may be empty, if supertype is not a parametric type); null if specified type is not a super type of this type
      • findSupertype

        public ResolvedType findSupertype​(Class<?> erasedSupertype)
        Method for finding super type of this type that has specified type erased signature. If supertype is an interface which is implemented using multiple inheritance paths, preference is given to interfaces implemented "highest up the stack" (directly implemented interfaces over interfaces superclass implements).
      • getDesc

        public String getDesc()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object