Class TypeIntrospectionBase

  • Direct Known Subclasses:
    ValueAttribute, ValueType

    public abstract class TypeIntrospectionBase
    extends java.lang.Object
    • Field Detail

      • PARCELABLE_INTERFACE_TYPE

        private static final java.lang.String PARCELABLE_INTERFACE_TYPE
        See Also:
        Constant Field Values
      • COMPARABLE_INTERFACE_PREFIX

        private static final java.lang.String COMPARABLE_INTERFACE_PREFIX
      • ENUM_CLASS_PREFIX

        private static final java.lang.String ENUM_CLASS_PREFIX
      • ORDINAL_VALUE_INTERFACE_PREFIX

        private static final java.lang.String ORDINAL_VALUE_INTERFACE_PREFIX
        See Also:
        Constant Field Values
      • BOXED_TO_PRIMITIVE_TYPES

        protected static final com.google.common.collect.ImmutableBiMap<java.lang.String,​java.lang.String> BOXED_TO_PRIMITIVE_TYPES
      • introspected

        private volatile boolean introspected
      • extendedClassesNames

        protected com.google.common.collect.ImmutableSet<java.lang.String> extendedClassesNames
      • implementedInterfacesNames

        protected com.google.common.collect.ImmutableSet<java.lang.String> implementedInterfacesNames
      • unresolvedYetArguments

        protected com.google.common.collect.ImmutableSet<java.lang.String> unresolvedYetArguments
      • isOrdinalValue

        private boolean isOrdinalValue
      • isEnum

        private boolean isEnum
      • isComparable

        private boolean isComparable
    • Constructor Detail

      • TypeIntrospectionBase

        public TypeIntrospectionBase()
    • Method Detail

      • isPrimitiveType

        protected static boolean isPrimitiveType​(java.lang.String typeName)
      • isPrimitiveWrappedType

        protected static boolean isPrimitiveWrappedType​(java.lang.String name)
      • isPrimitiveOrWrapped

        protected static boolean isPrimitiveOrWrapped​(java.lang.String name)
      • wrapType

        protected static java.lang.String wrapType​(java.lang.String typeName)
      • unwrapType

        protected static java.lang.String unwrapType​(java.lang.String typeName)
      • internalTypeMirror

        protected abstract javax.lang.model.type.TypeMirror internalTypeMirror()
      • ensureTypeIntrospected

        protected void ensureTypeIntrospected()
      • getExtendedClassesNames

        public com.google.common.collect.ImmutableSet<java.lang.String> getExtendedClassesNames()
      • getImplementedInterfacesNames

        public com.google.common.collect.ImmutableSet<java.lang.String> getImplementedInterfacesNames()
      • isParcelable

        public boolean isParcelable()
      • isComparable

        public boolean isComparable()
      • isOrdinalValue

        public boolean isOrdinalValue()
      • isEnumType

        public boolean isEnumType()
      • isSerializable

        public boolean isSerializable()
      • getDirectSupertype

        public java.lang.String getDirectSupertype()
      • introspectType

        protected void introspectType()
      • introspectSupertypes

        protected void introspectSupertypes()
      • introspectTypeMirror

        protected void introspectTypeMirror​(javax.lang.model.type.TypeMirror typeMirror)
      • collectTypeHierarchy

        protected TypeHierarchyCollector collectTypeHierarchy​(javax.lang.model.type.TypeMirror typeMirror)