Class CriteriaModel.IntrospectedType
java.lang.Object
org.immutables.value.processor.meta.CriteriaModel.IntrospectedType
- Enclosing class:
CriteriaModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Elementsprivate final TypeMirrorprivate final booleanprivate final TypeMirrorprivate final Types -
Constructor Summary
ConstructorsConstructorDescriptionIntrospectedType(TypeMirror type, boolean nullable, Types types, Elements elements) -
Method Summary
Modifier and TypeMethodDescriptionbox()booleanbooleanbooleanisArray()booleanbooleanbooleanbooleanbooleanbooleanisDouble()booleanisEnum()booleanbooleanbooleanisLong()booleanisMap()booleanbooleanbooleanisNumber()booleanbooleanisScalar()booleanisString()private booleanisSubtypeOf(Class<?> maybeSuper) private booleanisSubtypeOf(Element element) private CriteriaModel.IntrospectedTypetype()booleanwithType(TypeMirror type)
-
Field Details
-
type
-
types
-
elements
-
nullable
private final boolean nullable -
erasure
-
-
Constructor Details
-
IntrospectedType
IntrospectedType(TypeMirror type, boolean nullable, Types types, Elements elements)
-
-
Method Details
-
type
-
withType
-
isSubtypeOf
-
isSubtypeOf
-
isBoolean
public boolean isBoolean() -
isNumber
public boolean isNumber() -
isInteger
public boolean isInteger() -
isLong
public boolean isLong() -
isDouble
public boolean isDouble() -
isBigInteger
public boolean isBigInteger() -
isBigDecimal
public boolean isBigDecimal() -
isContainer
public boolean isContainer() -
isScalar
public boolean isScalar() -
isEnum
public boolean isEnum() -
isIterable
public boolean isIterable() -
isArray
public boolean isArray() -
hasOptionalMatcher
public boolean hasOptionalMatcher() -
isComparable
public boolean isComparable() -
isString
public boolean isString() -
isMap
public boolean isMap() -
isMatcher
public boolean isMatcher() -
box
-
hasCriteria
public boolean hasCriteria() -
optionalParameter
-
isNullable
public boolean isNullable() -
useOptional
public boolean useOptional() -
isOptional
public boolean isOptional()
-