Class FromSupertypesModel
java.lang.Object
org.immutables.value.processor.meta.FromSupertypesModel
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal LongBits.LongPositionsprivate final ProcessingEnvironmentfinal com.google.common.collect.ImmutableList<String> private final Reporterfinal com.google.common.collect.ImmutableList<FromSupertypesModel.FromSupertype> private static final AtomicBoolean -
Constructor Summary
ConstructorsConstructorDescriptionFromSupertypesModel(Reporter reporter, String abstractTypeName, Collection<ValueAttribute> attributes, com.google.common.collect.ImmutableListMultimap<String, TypeElement> accessorMapping, ProcessingEnvironment processing, List<TypeElement> extendedClasses, Set<TypeElement> implementedInterfaces) -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanboundsMatch(List<? extends TypeMirror> a, List<? extends TypeMirror> b) private ExecutableElementfindMethod(TypeElement typeElement, String getter) booleanbooleanprivate booleanisDirectAncestor(TypeElement parent, TypeElement child) private booleanisEligibleFromType(TypeElement typeElement, ValueAttribute attr)
-
Field Details
-
processing
-
typeParseExceptionReported
-
supertypes
-
repeating
-
positions
-
reporter
-
-
Constructor Details
-
FromSupertypesModel
FromSupertypesModel(Reporter reporter, String abstractTypeName, Collection<ValueAttribute> attributes, com.google.common.collect.ImmutableListMultimap<String, TypeElement> accessorMapping, ProcessingEnvironment processing, List<TypeElement> extendedClasses, Set<TypeElement> implementedInterfaces)
-
-
Method Details
-
isDirectAncestor
-
boundsMatch
-
isEligibleFromType
-
findMethod
-
hasManySupertypes
public boolean hasManySupertypes() -
hasWildcards
public boolean hasWildcards()
-