Class Proto.DeclaringType
java.lang.Object
org.immutables.value.processor.meta.Proto.Diagnosable
org.immutables.value.processor.meta.Proto.AbstractDeclaring
org.immutables.value.processor.meta.Proto.DeclaringType
- Direct Known Subclasses:
ImmutableProto.DeclaringType
- Enclosing class:
Proto
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns this class if it's top level or enclosing top level type.protected voidcollectEncodings(Collection<EncodingInfo> encodings) com.google.common.base.Optional<CriteriaMirror> criteria()com.google.common.base.Optional<CriteriaRepositoryMirror> abstract TypeElementelement()Element suitable for reporting as a source of declaration which might causing problems.com.google.common.base.Optional<Proto.DeclaringType> com.google.common.base.Optional<Proto.DeclaringType> com.google.common.base.Optional<ValueImmutableInfo> features()com.google.common.base.Optional<TransformMirror> com.google.common.base.Optional<TreesIncludeMirror> com.google.common.base.Optional<VisitMirror> getVisit()booleanisAst()booleanbooleanbooleanbooleanChecks if this element is a regular POJO (not an interface or abstract class) simple class with getters and settersbooleanbooleanbooleanbooleanname()com.google.common.base.Optional<RepositoryMirror> (package private) static boolean(package private) static booleanbooleanprotected voidvalidate()Some validations, not exhaustive.(package private) booleanverifiedConstructor(ExecutableElement element) (package private) booleanverifiedFactory(ExecutableElement element) Methods inherited from class org.immutables.value.processor.meta.Proto.AbstractDeclaring
asPrefix, asType, builderInclude, builderIncludedTypes, datatypeEnabled, depluralize, getAnnotationInjections, include, includedTypes, interner, isJacksonDeserialized, isJacksonDeserializedAnnotated, isJacksonJsonTypeInfo, isJacksonSerialized, isSerialStructural, metaAnnotated, okTypeAdapters, serialVersion, style, typeAdaptersMethods inherited from class org.immutables.value.processor.meta.Proto.Diagnosable
environment, processing, report, simpleName
-
Constructor Details
-
DeclaringType
public DeclaringType()
-
-
Method Details
-
element
Description copied from class:Proto.DiagnosableElement suitable for reporting as a source of declaration which might causing problems.- Specified by:
elementin classProto.AbstractDeclaring
-
name
- Specified by:
namein classProto.AbstractDeclaring
-
associatedTopLevel
returns this class if it's top level or enclosing top level type.- Returns:
- accossiated top level type.
-
enclosingTopLevel
-
criteria
-
repository
-
criteriaRepository
-
enclosingOf
-
packageOf
- Specified by:
packageOfin classProto.AbstractDeclaring
-
features
-
jacksonSerializeMode
- Overrides:
jacksonSerializeModein classProto.AbstractDeclaring
-
useImmutableDefaults
-
isEnclosing
-
isModifiable
-
isTopLevel
- Returns:
- true, if is top level
-
isJavaBean
Checks if this element is a regular POJO (not an interface or abstract class) simple class with getters and setters -
isImmutable
public boolean isImmutable() -
verifiedFactory
-
verifiedConstructor
-
suitableForBuilderConstructor
-
suitableForBuilderFactory
-
validate
Some validations, not exhaustive. -
sourceCode
-
headerComments
-
sourceImports
-
isTransformer
public boolean isTransformer() -
isVisitor
public boolean isVisitor() -
getTransform
-
getTreesInclude
-
getVisit
-
isAst
-
isEnclosed
public boolean isEnclosed() -
collectEncodings
- Overrides:
collectEncodingsin classProto.AbstractDeclaring
-