Class Constitution.InnerBaseClassDefinition
- java.lang.Object
-
- org.immutables.value.processor.meta.Constitution.InnerBaseClassDefinition
-
- Direct Known Subclasses:
Constitution.InnerBuilderDefinition,Constitution.InnerModifiableDefinition
- Enclosing class:
- Constitution
public abstract class Constitution.InnerBaseClassDefinition extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description GenericsgenericsbooleanisAccessibleFieldsbooleanisExtendingbooleanisInterfacebooleanisPresentbooleanisSuperNamingnamingjava.lang.StringsimpleNameVisibilityvisibility
-
Constructor Summary
Constructors Constructor Description InnerBaseClassDefinition(Naming naming)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description private javax.lang.model.element.TypeElementfindBaseClassElement()private booleanhasAccessibleConstructor(javax.lang.model.element.Element type)protected abstract booleanisApplicableTo(Proto.Protoclass p)Used to determine if the inner class we're looking for is revelant given the annotations on the prototype class.protected abstract booleanisExtending(javax.lang.model.element.TypeElement t)private booleanisValidInnerBaseClass(javax.lang.model.element.Element t)protected voidlateValidateExtending(javax.lang.model.element.TypeElement t)protected voidlateValidateSuper(javax.lang.model.element.TypeElement t)
-
-
-
Field Detail
-
isAccessibleFields
public final boolean isAccessibleFields
-
isPresent
public final boolean isPresent
-
isExtending
public final boolean isExtending
-
isSuper
public final boolean isSuper
-
isInterface
public final boolean isInterface
-
visibility
public final Visibility visibility
-
simpleName
@Nullable public final java.lang.String simpleName
-
generics
@Nullable public final Generics generics
-
naming
public final Naming naming
-
-
Constructor Detail
-
InnerBaseClassDefinition
InnerBaseClassDefinition(Naming naming)
-
-
Method Detail
-
lateValidateSuper
protected void lateValidateSuper(javax.lang.model.element.TypeElement t)
-
lateValidateExtending
protected void lateValidateExtending(javax.lang.model.element.TypeElement t)
-
isApplicableTo
protected abstract boolean isApplicableTo(Proto.Protoclass p)
Used to determine if the inner class we're looking for is revelant given the annotations on the prototype class. For example, there's no point in doing anything with an Modifiable inner class if it's not setup with the Value.Modifiable annotation.
-
isExtending
protected abstract boolean isExtending(javax.lang.model.element.TypeElement t)
-
findBaseClassElement
@Nullable private javax.lang.model.element.TypeElement findBaseClassElement()
-
isValidInnerBaseClass
private boolean isValidInnerBaseClass(javax.lang.model.element.Element t)
-
hasAccessibleConstructor
private boolean hasAccessibleConstructor(javax.lang.model.element.Element type)
-
-