Class Annotations
- java.lang.Object
-
- org.immutables.value.processor.meta.Annotations
-
final class Annotations extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.StringJACKSON_ANY_GETTER(package private) static java.lang.StringJACKSON_PROPERTY(package private) static java.lang.StringJACKSON_VALUE(package private) static java.lang.StringJAKARTA_CHECK_FOR_NULL(package private) static java.lang.StringJAKARTA_NULLABLE(package private) static java.lang.StringJAVAX_CHECK_FOR_NULL(package private) static java.lang.StringJAVAX_NULLABLE(package private) static java.lang.StringNULLABLE_SIMPLE_NAMEprivate static java.lang.StringPREFIX_IMMUTABLESprivate static java.lang.StringPREFIX_JACKSONprivate static java.lang.StringPREFIX_JACKSON_IGNORE_PROPERTIESprivate static java.lang.StringPREFIX_JAVA_LANG
-
Constructor Summary
Constructors Modifier Constructor Description privateAnnotations()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static booleanannotationMatchesTarget(javax.lang.model.element.Element annotationElement, java.lang.annotation.ElementType elementType)private static booleanannotationTypeMatches(javax.lang.model.element.Element element, javax.lang.model.element.TypeElement annotationElement, java.util.Set<java.lang.String> includeAnnotations, boolean includeAllAnnotations, boolean includeJacksonAnnotations, java.util.Set<java.lang.String> seenAnnotations, java.util.List<java.lang.CharSequence> lines, com.google.common.base.Function<java.lang.String,java.lang.String> importsResolver, java.lang.annotation.ElementType elementType, NullabilityAnnotationInfo nullability)(package private) static java.util.List<java.lang.CharSequence>getAnnotationLines(javax.lang.model.element.Element element, java.util.Set<java.lang.String> includeAnnotations, boolean includeAllAnnotations, boolean includeJacksonAnnotations, java.lang.annotation.ElementType elementType, com.google.common.base.Function<java.lang.String,java.lang.String> importsResolver, NullabilityAnnotationInfo nullability)(package private) static java.util.List<java.lang.CharSequence>getAnnotationLines(javax.lang.model.element.Element element, java.util.Set<java.lang.String> includeAnnotations, boolean includeJacksonAnnotations, java.lang.annotation.ElementType elementType, com.google.common.base.Function<java.lang.String,java.lang.String> importsResolver, NullabilityAnnotationInfo nullability)(package private) static booleanhasJacksonPackagePrefix(java.lang.String qualifiedName)
-
-
-
Field Detail
-
PREFIX_JAVA_LANG
private static final java.lang.String PREFIX_JAVA_LANG
- See Also:
- Constant Field Values
-
PREFIX_IMMUTABLES
private static final java.lang.String PREFIX_IMMUTABLES
- See Also:
- Constant Field Values
-
PREFIX_JACKSON
private static final java.lang.String PREFIX_JACKSON
- See Also:
- Constant Field Values
-
PREFIX_JACKSON_IGNORE_PROPERTIES
private static final java.lang.String PREFIX_JACKSON_IGNORE_PROPERTIES
- See Also:
- Constant Field Values
-
JACKSON_PROPERTY
static final java.lang.String JACKSON_PROPERTY
- See Also:
- Constant Field Values
-
JACKSON_ANY_GETTER
static final java.lang.String JACKSON_ANY_GETTER
- See Also:
- Constant Field Values
-
JACKSON_VALUE
static final java.lang.String JACKSON_VALUE
- See Also:
- Constant Field Values
-
NULLABLE_SIMPLE_NAME
static final java.lang.String NULLABLE_SIMPLE_NAME
- See Also:
- Constant Field Values
-
JAVAX_NULLABLE
static final java.lang.String JAVAX_NULLABLE
- See Also:
- Constant Field Values
-
JAVAX_CHECK_FOR_NULL
static final java.lang.String JAVAX_CHECK_FOR_NULL
- See Also:
- Constant Field Values
-
JAKARTA_NULLABLE
static final java.lang.String JAKARTA_NULLABLE
- See Also:
- Constant Field Values
-
JAKARTA_CHECK_FOR_NULL
static final java.lang.String JAKARTA_CHECK_FOR_NULL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAnnotationLines
static java.util.List<java.lang.CharSequence> getAnnotationLines(javax.lang.model.element.Element element, java.util.Set<java.lang.String> includeAnnotations, boolean includeJacksonAnnotations, java.lang.annotation.ElementType elementType, com.google.common.base.Function<java.lang.String,java.lang.String> importsResolver, @Nullable NullabilityAnnotationInfo nullability)
-
getAnnotationLines
static java.util.List<java.lang.CharSequence> getAnnotationLines(javax.lang.model.element.Element element, java.util.Set<java.lang.String> includeAnnotations, boolean includeAllAnnotations, boolean includeJacksonAnnotations, java.lang.annotation.ElementType elementType, com.google.common.base.Function<java.lang.String,java.lang.String> importsResolver, @Nullable NullabilityAnnotationInfo nullability)
-
annotationTypeMatches
private static boolean annotationTypeMatches(javax.lang.model.element.Element element, javax.lang.model.element.TypeElement annotationElement, java.util.Set<java.lang.String> includeAnnotations, boolean includeAllAnnotations, boolean includeJacksonAnnotations, java.util.Set<java.lang.String> seenAnnotations, java.util.List<java.lang.CharSequence> lines, com.google.common.base.Function<java.lang.String,java.lang.String> importsResolver, java.lang.annotation.ElementType elementType, @Nullable NullabilityAnnotationInfo nullability)
-
annotationMatchesTarget
static boolean annotationMatchesTarget(javax.lang.model.element.Element annotationElement, java.lang.annotation.ElementType elementType)
-
hasJacksonPackagePrefix
static boolean hasJacksonPackagePrefix(java.lang.String qualifiedName)
-
-