Class ResolvedType

java.lang.Object
com.fasterxml.jackson.jr.type.ResolvedType
All Implemented Interfaces:
Serializable, Type
Direct Known Subclasses:
RecursiveType

public class ResolvedType extends Object implements Type, Serializable
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • erasedType

      public Class<?> erasedType()
    • elementType

      public ResolvedType elementType()
    • parentType

      public ResolvedType parentType()
    • isArray

      public boolean isArray()
    • implInterfaces

      public final List<ResolvedType> implInterfaces()
    • typeParams

      public List<ResolvedType> typeParams()
    • typeBindings

      public TypeBindings typeBindings()
    • 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()
    • appendDesc

      public StringBuilder appendDesc(StringBuilder sb)
    • toString

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

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

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

      protected StringBuilder _appendClassDesc(StringBuilder sb)