Class StyleInfo
java.lang.Object
org.immutables.value.processor.meta.StyleInfo
- All Implemented Interfaces:
Annotation
- Direct Known Subclasses:
ImmutableStyleInfo
@Immutable(intern=true,
builder=false)
public abstract class StyleInfo
extends Object
implements ValueMirrors.Style
We copy styles to StyleInfo to safely cache styles between rounds etc and prevent any memory
leaks by unnecessary retaining compiler internal structures.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.immutables.value.processor.meta.ValueMirrors.Style
ValueMirrors.Style.BuilderVisibility, ValueMirrors.Style.ImplementationVisibility, ValueMirrors.Style.ValidationMethod -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Stringadd()abstract StringaddAll()abstract Stringabstract StringClass<? extends Annotation>[]Deprecated.no runtime classes, use StyleInfo.additionalJsonAnnotationsNames() insteadabstract com.google.common.collect.ImmutableSet<String> abstract booleanClass<? extends Annotation>[]Deprecated.no runtime classes, use StyleInfo.allowedClasspathAnnotationsNames() insteadabstract com.google.common.collect.ImmutableSet<String> abstract booleanabstract booleanClass<? extends Annotation> abstract String[]abstract booleanabstract booleanabstract booleanabstract Stringbuild()abstract Stringbuilder()abstract ValueMirrors.Style.BuilderVisibilityabstract Stringabstract Stringabstract booleanabstract StringcanBuild()abstract Stringclear()abstract booleanabstract StringcopyOf()abstract Stringcreate()abstract booleanabstract booleanabstract ValueImmutableInfodefaults()abstract booleanabstract Stringabstract booleanabstract String[]Class<? extends Annotation> Deprecated.no runtime classes, use StyleInfo.fallbackNullableAnnotationName() insteadabstract Stringabstract booleanabstract booleanabstract booleanabstract booleanabstract Stringfrom()abstract booleanabstract String[]get()abstract Stringabstract Stringabstract booleanClass<?>[]Deprecated.no runtime classes, use StyleInfo.immutableCopyOfRoutinesNames() insteadabstract com.google.common.collect.ImmutableSet<String> abstract booleanabstract String(package private) static StyleInfoinfoFrom(StyleMirror input) abstract Stringinit()abstract Stringinstance()abstract Stringabstract StringisSet()abstract booleanabstract booleanjakarta()abstract booleanabstract booleanjdkOnly()abstract intabstract Stringabstract Stringabstract Stringof()abstract booleanabstract booleanabstract StringClass<? extends Annotation>[]Deprecated.no runtime classes, use StyleInfo.passAnnotationsNames() insteadabstract com.google.common.collect.ImmutableSet<String> abstract booleanabstract booleanabstract Stringput()abstract StringputAll()abstract Stringabstract Stringset()abstract Stringabstract booleanabstract booleanabstract booleanDeprecated.no runtime classes, use StyleInfo.throwForInvalidImmutableStateName() insteadabstract StringDeprecated.no runtime classes, use StyleInfo.throwForNullPointerName() insteadabstract Stringabstract Stringabstract Stringabstract booleanabstract String[]abstract Stringabstract Stringabstract Stringabstract Stringabstract Stringabstract Stringabstract Stringabstract StringtypeWith()abstract Stringabstract Stringabstract Stringabstract booleanabstract Stringunset()abstract ValueMirrors.Style.ValidationMethodabstract Stringabstract booleanabstract Stringwith()abstract String
-
Constructor Details
-
StyleInfo
public StyleInfo()
-
-
Method Details
-
annotationType
- Specified by:
annotationTypein interfaceAnnotation
-
get
-
init
-
with
-
withUnaryOperator
-
add
-
addAll
-
put
-
putAll
-
copyOf
-
of
-
instance
-
builder
-
newBuilder
-
from
-
build
-
buildOrThrow
-
canBuild
-
toBuilder
-
underrideHashCode
-
underrideEquals
-
underrideToString
-
delegateToString
-
includeHashCode
-
isInitialized
-
isSet
-
set
-
unset
-
clear
-
create
-
toImmutable
-
typeBuilder
-
typeInnerBuilder
-
typeAbstract
-
typeImmutable
-
typeImmutableEnclosing
-
typeImmutableNested
-
typeModifiable
-
typeInnerModifiable
-
typeWith
-
packageGenerated
-
defaults
-
strictBuilder
-
strictModifiable
-
validationMethod
-
allParameters
-
defaultAsDefault
-
headerComments
-
jdkOnly
-
jdk9Collections
-
passAnnotationsNames
-
additionalJsonAnnotationsNames
@Parameter public abstract com.google.common.collect.ImmutableSet<String> additionalJsonAnnotationsNames() -
visibility
-
visibilityString
-
optionalAcceptNullable
-
generateSuppressAllWarnings
-
privateNoargConstructor
-
protectedNoargConstructor
-
attributelessSingleton
-
unsafeDefaultAndDerived
-
clearBuilder
-
deferCollectionAllocation
-
deepImmutablesDetection
-
overshadowImplementation
-
implementationNestedInBuilder
-
forceJacksonPropertyNames
-
forceJacksonIgnoreFields
-
forceEqualsInWithers
-
jacksonIntegration
-
weakInterning
-
alwaysPublicInitializers
-
builderVisibility
-
builderVisibilityString
-
throwForInvalidImmutableStateName
-
throwForNullPointerName
-
depluralize
-
depluralizeDictionary
-
immutableCopyOfRoutinesNames
@Parameter public abstract com.google.common.collect.ImmutableSet<String> immutableCopyOfRoutinesNames() -
stagedBuilder
-
builtinContainerAttributes
-
beanFriendlyModifiables
-
allMandatoryParameters
-
transientDerivedFields
-
finalInstanceFields
-
redactedMask
-
attributeBuilderDetection
-
attributeBuilder
-
getBuilder
-
setBuilder
-
addBuilder
-
addAllBuilder
-
getBuilders
-
nullableAnnotation
-
allowedClasspathAnnotationsNames
@Parameter public abstract com.google.common.collect.ImmutableSet<String> allowedClasspathAnnotationsNames() -
fallbackNullableAnnotationName
-
getStyles
-
passAnnotations
Deprecated.no runtime classes, use StyleInfo.passAnnotationsNames() instead -
additionalJsonAnnotations
Deprecated.no runtime classes, use StyleInfo.additionalJsonAnnotationsNames() instead -
throwForInvalidImmutableState
Deprecated.no runtime classes, use StyleInfo.throwForInvalidImmutableStateName() instead -
throwForNullPointer
Deprecated.no runtime classes, use StyleInfo.throwForNullPointerName() instead -
immutableCopyOfRoutines
Deprecated.no runtime classes, use StyleInfo.immutableCopyOfRoutinesNames() instead -
allowedClasspathAnnotations
Deprecated.no runtime classes, use StyleInfo.allowedClasspathAnnotationsNames() instead -
fallbackNullableAnnotation
Deprecated.no runtime classes, use StyleInfo.fallbackNullableAnnotationName() instead -
limitStringLengthInToString
-
jakarta
-
infoFrom
-