Class TypeIntrospectionBase
java.lang.Object
org.immutables.value.processor.meta.TypeIntrospectionBase
- Direct Known Subclasses:
ValueAttribute,ValueType
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringprotected com.google.common.collect.ImmutableSet<String> protected com.google.common.collect.ImmutableSet<String> private booleanprivate booleanprivate booleanprivate booleanprivate static final Stringprivate static final Stringprotected com.google.common.collect.ImmutableSet<String> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypeHierarchyCollectorcollectTypeHierarchy(TypeMirror typeMirror) protected voidcom.google.common.collect.ImmutableSet<String> com.google.common.collect.ImmutableSet<String> protected abstract TypeMirrorprotected voidprotected voidprotected voidintrospectTypeMirror(TypeMirror typeMirror) booleanbooleanbooleanbooleanprotected static booleanisPrimitiveOrWrapped(String name) protected static booleanisPrimitiveType(String typeName) protected static booleanisPrimitiveWrappedType(String name) booleanprotected static StringunwrapType(String typeName) protected static String
-
Field Details
-
PARCELABLE_INTERFACE_TYPE
- See Also:
-
COMPARABLE_INTERFACE_PREFIX
-
ENUM_CLASS_PREFIX
-
ORDINAL_VALUE_INTERFACE_PREFIX
- See Also:
-
BOXED_TO_PRIMITIVE_TYPES
-
introspected
private volatile boolean introspected -
extendedClassesNames
-
implementedInterfacesNames
-
unresolvedYetArguments
-
isOrdinalValue
private boolean isOrdinalValue -
isEnum
private boolean isEnum -
isComparable
private boolean isComparable
-
-
Constructor Details
-
TypeIntrospectionBase
public TypeIntrospectionBase()
-
-
Method Details
-
isPrimitiveType
-
isPrimitiveWrappedType
-
isPrimitiveOrWrapped
-
wrapType
-
unwrapType
-
internalTypeMirror
-
ensureTypeIntrospected
protected void ensureTypeIntrospected() -
getExtendedClassesNames
-
getImplementedInterfacesNames
-
isParcelable
public boolean isParcelable() -
isComparable
public boolean isComparable() -
isOrdinalValue
public boolean isOrdinalValue() -
isEnumType
public boolean isEnumType() -
isSerializable
public boolean isSerializable() -
getDirectSupertype
-
introspectType
protected void introspectType() -
introspectSupertypes
protected void introspectSupertypes() -
introspectTypeMirror
-
collectTypeHierarchy
-