Class CriteriaModel.IntrospectedType
- java.lang.Object
-
- org.immutables.value.processor.meta.CriteriaModel.IntrospectedType
-
- Enclosing class:
- CriteriaModel
private static class CriteriaModel.IntrospectedType extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IntrospectedType(javax.lang.model.type.TypeMirror type, boolean nullable, javax.lang.model.util.Types types, javax.lang.model.util.Elements elements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.lang.model.type.TypeMirrorbox()booleanhasCriteria()booleanhasOptionalMatcher()booleanisArray()booleanisBigDecimal()booleanisBigInteger()booleanisBoolean()booleanisComparable()booleanisContainer()booleanisDouble()booleanisEnum()booleanisInteger()booleanisIterable()booleanisLong()booleanisMap()booleanisMatcher()booleanisNullable()booleanisNumber()booleanisOptional()booleanisScalar()booleanisString()private booleanisSubtypeOf(java.lang.Class<?> maybeSuper)private booleanisSubtypeOf(javax.lang.model.element.Element element)private CriteriaModel.IntrospectedTypeoptionalParameter()javax.lang.model.type.TypeMirrortype()booleanuseOptional()CriteriaModel.IntrospectedTypewithType(javax.lang.model.type.TypeMirror type)
-
-
-
Method Detail
-
type
public javax.lang.model.type.TypeMirror type()
-
withType
public CriteriaModel.IntrospectedType withType(javax.lang.model.type.TypeMirror type)
-
isSubtypeOf
private boolean isSubtypeOf(java.lang.Class<?> maybeSuper)
-
isSubtypeOf
private boolean isSubtypeOf(javax.lang.model.element.Element element)
-
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
public javax.lang.model.type.TypeMirror box()
-
hasCriteria
public boolean hasCriteria()
-
optionalParameter
private CriteriaModel.IntrospectedType optionalParameter()
-
isNullable
public boolean isNullable()
-
useOptional
public boolean useOptional()
-
isOptional
public boolean isOptional()
-
-