Class ValueTypeComposer
java.lang.Object
org.immutables.value.processor.meta.ValueTypeComposer
It may grow later in some better abstraction, but as it stands now, currently it is
just a glue between new "protoclass" model and old discovery routines.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.google.common.base.CharMatcher -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static booleancheckAbstractValueType(Element element, Collection<String> violations) private voidcheckAttributeNamesForDuplicates(ValueType type, Proto.Protoclass protoclass) private voidprivate voidprivate voidcheckForMutableFields(Proto.Protoclass protoclass, TypeElement element) private voidcheckForTypeHierarchy(Proto.Protoclass protoclass, ValueType type) private voidcheckStyleConflicts(ValueType type, Proto.Protoclass protoclass) (package private) voidcompose(ValueType type, Proto.Protoclass protoclass) private static voidscanAndReportInvalidInheritance(Proto.Protoclass protoclass, Element element, Iterable<TypeElement> supertypes)
-
Field Details
-
ATTRIBUTE_NAME_CHARS
private static final com.google.common.base.CharMatcher ATTRIBUTE_NAME_CHARS
-
-
Constructor Details
-
ValueTypeComposer
public ValueTypeComposer()
-
-
Method Details
-
compose
-
checkAttributeNamesIllegalCharacters
-
checkConstructability
-
checkStyleConflicts
-
checkForTypeHierarchy
-
scanAndReportInvalidInheritance
private static void scanAndReportInvalidInheritance(Proto.Protoclass protoclass, Element element, Iterable<TypeElement> supertypes) -
checkForMutableFields
-
checkAttributeNamesForDuplicates
-
checkAbstractValueType
-