Class Binding


  • public class Binding
    extends java.lang.Object
    • Field Detail

      • clazz

        public final java.lang.Class clazz
      • clazzTypeLiteral

        public final TypeLiteral clazzTypeLiteral
      • annotations

        public java.lang.annotation.Annotation[] annotations
      • field

        public java.lang.reflect.Field field
      • method

        public java.lang.reflect.Method method
      • valueCanReuse

        public boolean valueCanReuse
      • name

        public java.lang.String name
      • valueType

        public java.lang.reflect.Type valueType
      • valueTypeLiteral

        public TypeLiteral valueTypeLiteral
      • fromNames

        public java.lang.String[] fromNames
      • toNames

        public java.lang.String[] toNames
      • asMissingWhenNotPresent

        public boolean asMissingWhenNotPresent
      • asExtraWhenPresent

        public boolean asExtraWhenPresent
      • isNullable

        public boolean isNullable
      • isCollectionValueNullable

        public boolean isCollectionValueNullable
      • defaultValueToOmit

        public OmitValue defaultValueToOmit
      • shouldSkip

        public boolean shouldSkip
      • idx

        public int idx
      • mask

        public long mask
    • Constructor Detail

      • Binding

        public Binding​(ClassInfo classInfo,
                       java.util.Map<java.lang.String,​java.lang.reflect.Type> lookup,
                       java.lang.reflect.Type valueType)
    • Method Detail

      • decoderCacheKey

        public java.lang.String decoderCacheKey()
      • encoderCacheKey

        public java.lang.String encoderCacheKey()
      • substituteTypeVariables

        private static java.lang.reflect.Type substituteTypeVariables​(java.util.Map<java.lang.String,​java.lang.reflect.Type> lookup,
                                                                      java.lang.reflect.Type type)
      • translateTypeVariable

        private static java.lang.reflect.Type translateTypeVariable​(java.util.Map<java.lang.String,​java.lang.reflect.Type> lookup,
                                                                    java.lang.reflect.TypeVariable var)
      • getAnnotation

        public <T extends java.lang.annotation.Annotation> T getAnnotation​(java.lang.Class<T> annotationClass)
      • 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
      • toString

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