Class ImmutableStyleInfo
java.lang.Object
org.immutables.value.processor.meta.StyleInfo
org.immutables.value.processor.meta.ImmutableStyleInfo
- All Implemented Interfaces:
Annotation
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class ImmutableStyleInfo
extends StyleInfo
Immutable implementation of
StyleInfo.
Use the static factory method to create immutable instances:
ImmutableStyleInfo.of().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classprivate static classNested classes/interfaces inherited from class org.immutables.value.processor.meta.ValueMirrors.Style
ValueMirrors.Style.BuilderVisibility, ValueMirrors.Style.ImplementationVisibility, ValueMirrors.Style.ValidationMethod -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Stringprivate final Stringprivate final Stringprivate final com.google.common.collect.ImmutableSet<String> private final booleanprivate final com.google.common.collect.ImmutableSet<String> private final booleanprivate final booleanprivate final String[]private final booleanprivate final booleanprivate final booleanprivate final Stringprivate final Stringprivate final ValueMirrors.Style.BuilderVisibilityprivate final Stringprivate final Stringprivate final booleanprivate final Stringprivate final Stringprivate final booleanprivate final Stringprivate final Stringprivate final booleanprivate final booleanprivate final ValueImmutableInfoprivate final booleanprivate final Stringprivate final booleanprivate final String[]private final Stringprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final Stringprivate final booleanprivate final String[]private static final longprivate final Stringprivate final Stringprivate Stylesprivate final booleanprivate final com.google.common.collect.ImmutableSet<String> private final booleanprivate final Stringprivate final Stringprivate final Stringprivate final Stringprivate final Stringprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate longprivate final intprivate final Stringprivate final Stringprivate final Stringprivate final booleanprivate final booleanprivate final Stringprivate final com.google.common.collect.ImmutableSet<String> private final booleanprivate final booleanprivate final Stringprivate final Stringprivate final Stringprivate final Stringprivate final Stringprivate final booleanprivate final booleanprivate final booleanprivate final Stringprivate final Stringprivate final Stringprivate final Stringprivate final booleanprivate final String[]private final Stringprivate final Stringprivate final Stringprivate final Stringprivate final Stringprivate final Stringprivate final Stringprivate final Stringprivate final Stringprivate final Stringprivate final Stringprivate final booleanprivate final Stringprivate final ValueMirrors.Style.ValidationMethodprivate final ValueMirrors.Style.ImplementationVisibilityprivate final Stringprivate final booleanprivate final Stringprivate final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateImmutableStyleInfo(String[] get, String init, String with, String withUnaryOperator, String add, String addAll, String put, String putAll, String copyOf, String of, String instance, String builder, String newBuilder, String from, String build, String buildOrThrow, String canBuild, String toBuilder, String underrideHashCode, String underrideEquals, String underrideToString, String delegateToString, String includeHashCode, String isInitialized, String isSet, String set, String unset, String clear, String create, String toImmutable, String typeBuilder, String typeInnerBuilder, String[] typeAbstract, String typeImmutable, String typeImmutableEnclosing, String typeImmutableNested, String typeModifiable, String typeInnerModifiable, String typeWith, String packageGenerated, ValueImmutableInfo defaults, boolean strictBuilder, boolean strictModifiable, ValueMirrors.Style.ValidationMethod validationMethod, boolean allParameters, boolean defaultAsDefault, boolean headerComments, boolean jdkOnly, boolean jdk9Collections, Iterable<String> passAnnotationsNames, Iterable<String> additionalJsonAnnotationsNames, ValueMirrors.Style.ImplementationVisibility visibility, String visibilityString, boolean optionalAcceptNullable, boolean generateSuppressAllWarnings, boolean privateNoargConstructor, boolean protectedNoargConstructor, boolean attributelessSingleton, boolean unsafeDefaultAndDerived, boolean clearBuilder, boolean deferCollectionAllocation, boolean deepImmutablesDetection, boolean overshadowImplementation, boolean implementationNestedInBuilder, boolean forceJacksonPropertyNames, boolean forceJacksonIgnoreFields, boolean forceEqualsInWithers, boolean jacksonIntegration, boolean weakInterning, boolean alwaysPublicInitializers, ValueMirrors.Style.BuilderVisibility builderVisibility, String builderVisibilityString, String throwForInvalidImmutableStateName, String throwForNullPointerName, boolean depluralize, String[] depluralizeDictionary, Iterable<String> immutableCopyOfRoutinesNames, boolean stagedBuilder, boolean builtinContainerAttributes, boolean beanFriendlyModifiables, boolean allMandatoryParameters, boolean transientDerivedFields, boolean finalInstanceFields, String redactedMask, boolean attributeBuilderDetection, String[] attributeBuilder, String getBuilder, String setBuilder, String addBuilder, String addAllBuilder, String getBuilders, String nullableAnnotation, Iterable<String> allowedClasspathAnnotationsNames, String fallbackNullableAnnotationName, int limitStringLengthInToString, boolean jakarta) privateImmutableStyleInfo(ImmutableStyleInfo original, String[] get, String init, String with, String withUnaryOperator, String add, String addAll, String put, String putAll, String copyOf, String of, String instance, String builder, String newBuilder, String from, String build, String buildOrThrow, String canBuild, String toBuilder, String underrideHashCode, String underrideEquals, String underrideToString, String delegateToString, String includeHashCode, String isInitialized, String isSet, String set, String unset, String clear, String create, String toImmutable, String typeBuilder, String typeInnerBuilder, String[] typeAbstract, String typeImmutable, String typeImmutableEnclosing, String typeImmutableNested, String typeModifiable, String typeInnerModifiable, String typeWith, String packageGenerated, ValueImmutableInfo defaults, boolean strictBuilder, boolean strictModifiable, ValueMirrors.Style.ValidationMethod validationMethod, boolean allParameters, boolean defaultAsDefault, boolean headerComments, boolean jdkOnly, boolean jdk9Collections, com.google.common.collect.ImmutableSet<String> passAnnotationsNames, com.google.common.collect.ImmutableSet<String> additionalJsonAnnotationsNames, ValueMirrors.Style.ImplementationVisibility visibility, String visibilityString, boolean optionalAcceptNullable, boolean generateSuppressAllWarnings, boolean privateNoargConstructor, boolean protectedNoargConstructor, boolean attributelessSingleton, boolean unsafeDefaultAndDerived, boolean clearBuilder, boolean deferCollectionAllocation, boolean deepImmutablesDetection, boolean overshadowImplementation, boolean implementationNestedInBuilder, boolean forceJacksonPropertyNames, boolean forceJacksonIgnoreFields, boolean forceEqualsInWithers, boolean jacksonIntegration, boolean weakInterning, boolean alwaysPublicInitializers, ValueMirrors.Style.BuilderVisibility builderVisibility, String builderVisibilityString, String throwForInvalidImmutableStateName, String throwForNullPointerName, boolean depluralize, String[] depluralizeDictionary, com.google.common.collect.ImmutableSet<String> immutableCopyOfRoutinesNames, boolean stagedBuilder, boolean builtinContainerAttributes, boolean beanFriendlyModifiables, boolean allMandatoryParameters, boolean transientDerivedFields, boolean finalInstanceFields, String redactedMask, boolean attributeBuilderDetection, String[] attributeBuilder, String getBuilder, String setBuilder, String addBuilder, String addAllBuilder, String getBuilders, String nullableAnnotation, com.google.common.collect.ImmutableSet<String> allowedClasspathAnnotationsNames, String fallbackNullableAnnotationName, int limitStringLengthInToString, boolean jakarta) -
Method Summary
Modifier and TypeMethodDescriptionadd()addAll()com.google.common.collect.ImmutableSet<String> booleancom.google.common.collect.ImmutableSet<String> booleanbooleanString[]booleanbooleanbooleanbuild()builder()booleancanBuild()clear()booleancopyOf()static ImmutableStyleInfoCreates an immutable copy of aStyleInfovalue.create()booleanbooleandefaults()booleanbooleanString[]booleanThis instance is equal to all instances ofImmutableStyleInfothat have equal attribute values.private booleanequalTo(int synthetic, ImmutableStyleInfo another) booleanbooleanbooleanbooleanfrom()booleanString[]get()inthashCode()Computes a hash code from attributes: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,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,stagedBuilder,builtinContainerAttributes,beanFriendlyModifiables,allMandatoryParameters,transientDerivedFields,finalInstanceFields,redactedMask,attributeBuilderDetection,attributeBuilder,getBuilder,setBuilder,addBuilder,addAllBuilder,getBuilders,nullableAnnotation,allowedClasspathAnnotationsNames,fallbackNullableAnnotationName,limitStringLengthInToString,jakarta.booleancom.google.common.collect.ImmutableSet<String> booleaninit()instance()isSet()booleanbooleanjakarta()booleanbooleanjdkOnly()intof()static ImmutableStyleInfoof(String[] get, String init, String with, String withUnaryOperator, String add, String addAll, String put, String putAll, String copyOf, String of, String instance, String builder, String newBuilder, String from, String build, String buildOrThrow, String canBuild, String toBuilder, String underrideHashCode, String underrideEquals, String underrideToString, String delegateToString, String includeHashCode, String isInitialized, String isSet, String set, String unset, String clear, String create, String toImmutable, String typeBuilder, String typeInnerBuilder, String[] typeAbstract, String typeImmutable, String typeImmutableEnclosing, String typeImmutableNested, String typeModifiable, String typeInnerModifiable, String typeWith, String packageGenerated, ValueImmutableInfo defaults, boolean strictBuilder, boolean strictModifiable, ValueMirrors.Style.ValidationMethod validationMethod, boolean allParameters, boolean defaultAsDefault, boolean headerComments, boolean jdkOnly, boolean jdk9Collections, com.google.common.collect.ImmutableSet<String> passAnnotationsNames, com.google.common.collect.ImmutableSet<String> additionalJsonAnnotationsNames, ValueMirrors.Style.ImplementationVisibility visibility, String visibilityString, boolean optionalAcceptNullable, boolean generateSuppressAllWarnings, boolean privateNoargConstructor, boolean protectedNoargConstructor, boolean attributelessSingleton, boolean unsafeDefaultAndDerived, boolean clearBuilder, boolean deferCollectionAllocation, boolean deepImmutablesDetection, boolean overshadowImplementation, boolean implementationNestedInBuilder, boolean forceJacksonPropertyNames, boolean forceJacksonIgnoreFields, boolean forceEqualsInWithers, boolean jacksonIntegration, boolean weakInterning, boolean alwaysPublicInitializers, ValueMirrors.Style.BuilderVisibility builderVisibility, String builderVisibilityString, String throwForInvalidImmutableStateName, String throwForNullPointerName, boolean depluralize, String[] depluralizeDictionary, com.google.common.collect.ImmutableSet<String> immutableCopyOfRoutinesNames, boolean stagedBuilder, boolean builtinContainerAttributes, boolean beanFriendlyModifiables, boolean allMandatoryParameters, boolean transientDerivedFields, boolean finalInstanceFields, String redactedMask, boolean attributeBuilderDetection, String[] attributeBuilder, String getBuilder, String setBuilder, String addBuilder, String addAllBuilder, String getBuilders, String nullableAnnotation, com.google.common.collect.ImmutableSet<String> allowedClasspathAnnotationsNames, String fallbackNullableAnnotationName, int limitStringLengthInToString, boolean jakarta) Construct a new immutableStyleInfoinstance.static ImmutableStyleInfoof(String[] get, String init, String with, String withUnaryOperator, String add, String addAll, String put, String putAll, String copyOf, String of, String instance, String builder, String newBuilder, String from, String build, String buildOrThrow, String canBuild, String toBuilder, String underrideHashCode, String underrideEquals, String underrideToString, String delegateToString, String includeHashCode, String isInitialized, String isSet, String set, String unset, String clear, String create, String toImmutable, String typeBuilder, String typeInnerBuilder, String[] typeAbstract, String typeImmutable, String typeImmutableEnclosing, String typeImmutableNested, String typeModifiable, String typeInnerModifiable, String typeWith, String packageGenerated, ValueImmutableInfo defaults, boolean strictBuilder, boolean strictModifiable, ValueMirrors.Style.ValidationMethod validationMethod, boolean allParameters, boolean defaultAsDefault, boolean headerComments, boolean jdkOnly, boolean jdk9Collections, Iterable<String> passAnnotationsNames, Iterable<String> additionalJsonAnnotationsNames, ValueMirrors.Style.ImplementationVisibility visibility, String visibilityString, boolean optionalAcceptNullable, boolean generateSuppressAllWarnings, boolean privateNoargConstructor, boolean protectedNoargConstructor, boolean attributelessSingleton, boolean unsafeDefaultAndDerived, boolean clearBuilder, boolean deferCollectionAllocation, boolean deepImmutablesDetection, boolean overshadowImplementation, boolean implementationNestedInBuilder, boolean forceJacksonPropertyNames, boolean forceJacksonIgnoreFields, boolean forceEqualsInWithers, boolean jacksonIntegration, boolean weakInterning, boolean alwaysPublicInitializers, ValueMirrors.Style.BuilderVisibility builderVisibility, String builderVisibilityString, String throwForInvalidImmutableStateName, String throwForNullPointerName, boolean depluralize, String[] depluralizeDictionary, Iterable<String> immutableCopyOfRoutinesNames, boolean stagedBuilder, boolean builtinContainerAttributes, boolean beanFriendlyModifiables, boolean allMandatoryParameters, boolean transientDerivedFields, boolean finalInstanceFields, String redactedMask, boolean attributeBuilderDetection, String[] attributeBuilder, String getBuilder, String setBuilder, String addBuilder, String addAllBuilder, String getBuilders, String nullableAnnotation, Iterable<String> allowedClasspathAnnotationsNames, String fallbackNullableAnnotationName, int limitStringLengthInToString, boolean jakarta) Construct a new immutableStyleInfoinstance.booleanbooleancom.google.common.collect.ImmutableSet<String> booleanbooleanput()putAll()set()booleanbooleanbooleantoString()Prints the immutable valueStyleInfowith attribute values.booleanString[]typeWith()booleanunset()private static ImmutableStyleInfovalidate(ImmutableStyleInfo instance) booleanwith()final ImmutableStyleInfoCopy the current immutable object by setting a value for theaddattribute.final ImmutableStyleInfowithAddAll(String value) Copy the current immutable object by setting a value for theaddAllattribute.final ImmutableStyleInfowithAddAllBuilder(String value) Copy the current immutable object by setting a value for theaddAllBuilderattribute.final ImmutableStyleInfowithAddBuilder(String value) Copy the current immutable object by setting a value for theaddBuilderattribute.final ImmutableStyleInfowithAdditionalJsonAnnotationsNames(Iterable<String> elements) Copy the current immutable object with elements that replace the content ofadditionalJsonAnnotationsNames.final ImmutableStyleInfowithAdditionalJsonAnnotationsNames(String... elements) Copy the current immutable object with elements that replace the content ofadditionalJsonAnnotationsNames.final ImmutableStyleInfowithAllMandatoryParameters(boolean value) Copy the current immutable object by setting a value for theallMandatoryParametersattribute.final ImmutableStyleInfowithAllowedClasspathAnnotationsNames(Iterable<String> elements) Copy the current immutable object with elements that replace the content ofallowedClasspathAnnotationsNames.final ImmutableStyleInfowithAllowedClasspathAnnotationsNames(String... elements) Copy the current immutable object with elements that replace the content ofallowedClasspathAnnotationsNames.final ImmutableStyleInfowithAllParameters(boolean value) Copy the current immutable object by setting a value for theallParametersattribute.final ImmutableStyleInfowithAlwaysPublicInitializers(boolean value) Copy the current immutable object by setting a value for thealwaysPublicInitializersattribute.final ImmutableStyleInfowithAttributeBuilder(String... elements) Copy the current immutable object with elements that replace the content ofattributeBuilder.final ImmutableStyleInfowithAttributeBuilderDetection(boolean value) Copy the current immutable object by setting a value for theattributeBuilderDetectionattribute.final ImmutableStyleInfowithAttributelessSingleton(boolean value) Copy the current immutable object by setting a value for theattributelessSingletonattribute.final ImmutableStyleInfowithBeanFriendlyModifiables(boolean value) Copy the current immutable object by setting a value for thebeanFriendlyModifiablesattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for thebuildattribute.final ImmutableStyleInfowithBuilder(String value) Copy the current immutable object by setting a value for thebuilderattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for thebuilderVisibilityattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for thebuilderVisibilityStringattribute.final ImmutableStyleInfowithBuildOrThrow(String value) Copy the current immutable object by setting a value for thebuildOrThrowattribute.final ImmutableStyleInfowithBuiltinContainerAttributes(boolean value) Copy the current immutable object by setting a value for thebuiltinContainerAttributesattribute.final ImmutableStyleInfowithCanBuild(String value) Copy the current immutable object by setting a value for thecanBuildattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for theclearattribute.final ImmutableStyleInfowithClearBuilder(boolean value) Copy the current immutable object by setting a value for theclearBuilderattribute.final ImmutableStyleInfowithCopyOf(String value) Copy the current immutable object by setting a value for thecopyOfattribute.final ImmutableStyleInfowithCreate(String value) Copy the current immutable object by setting a value for thecreateattribute.final ImmutableStyleInfowithDeepImmutablesDetection(boolean value) Copy the current immutable object by setting a value for thedeepImmutablesDetectionattribute.final ImmutableStyleInfowithDefaultAsDefault(boolean value) Copy the current immutable object by setting a value for thedefaultAsDefaultattribute.final ImmutableStyleInfowithDefaults(ValueImmutableInfo value) Copy the current immutable object by setting a value for thedefaultsattribute.final ImmutableStyleInfowithDeferCollectionAllocation(boolean value) Copy the current immutable object by setting a value for thedeferCollectionAllocationattribute.final ImmutableStyleInfowithDelegateToString(String value) Copy the current immutable object by setting a value for thedelegateToStringattribute.final ImmutableStyleInfowithDepluralize(boolean value) Copy the current immutable object by setting a value for thedepluralizeattribute.final ImmutableStyleInfowithDepluralizeDictionary(String... elements) Copy the current immutable object with elements that replace the content ofdepluralizeDictionary.final ImmutableStyleInfoCopy the current immutable object by setting a value for thefallbackNullableAnnotationNameattribute.final ImmutableStyleInfowithFinalInstanceFields(boolean value) Copy the current immutable object by setting a value for thefinalInstanceFieldsattribute.final ImmutableStyleInfowithForceEqualsInWithers(boolean value) Copy the current immutable object by setting a value for theforceEqualsInWithersattribute.final ImmutableStyleInfowithForceJacksonIgnoreFields(boolean value) Copy the current immutable object by setting a value for theforceJacksonIgnoreFieldsattribute.final ImmutableStyleInfowithForceJacksonPropertyNames(boolean value) Copy the current immutable object by setting a value for theforceJacksonPropertyNamesattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for thefromattribute.final ImmutableStyleInfowithGenerateSuppressAllWarnings(boolean value) Copy the current immutable object by setting a value for thegenerateSuppressAllWarningsattribute.final ImmutableStyleInfoCopy the current immutable object with elements that replace the content ofget.final ImmutableStyleInfowithGetBuilder(String value) Copy the current immutable object by setting a value for thegetBuilderattribute.final ImmutableStyleInfowithGetBuilders(String value) Copy the current immutable object by setting a value for thegetBuildersattribute.final ImmutableStyleInfowithHeaderComments(boolean value) Copy the current immutable object by setting a value for theheaderCommentsattribute.final ImmutableStyleInfowithImmutableCopyOfRoutinesNames(Iterable<String> elements) Copy the current immutable object with elements that replace the content ofimmutableCopyOfRoutinesNames.final ImmutableStyleInfowithImmutableCopyOfRoutinesNames(String... elements) Copy the current immutable object with elements that replace the content ofimmutableCopyOfRoutinesNames.final ImmutableStyleInfowithImplementationNestedInBuilder(boolean value) Copy the current immutable object by setting a value for theimplementationNestedInBuilderattribute.final ImmutableStyleInfowithIncludeHashCode(String value) Copy the current immutable object by setting a value for theincludeHashCodeattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for theinitattribute.final ImmutableStyleInfowithInstance(String value) Copy the current immutable object by setting a value for theinstanceattribute.final ImmutableStyleInfowithIsInitialized(String value) Copy the current immutable object by setting a value for theisInitializedattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for theisSetattribute.final ImmutableStyleInfowithJacksonIntegration(boolean value) Copy the current immutable object by setting a value for thejacksonIntegrationattribute.final ImmutableStyleInfowithJakarta(boolean value) Copy the current immutable object by setting a value for thejakartaattribute.final ImmutableStyleInfowithJdk9Collections(boolean value) Copy the current immutable object by setting a value for thejdk9Collectionsattribute.final ImmutableStyleInfowithJdkOnly(boolean value) Copy the current immutable object by setting a value for thejdkOnlyattribute.final ImmutableStyleInfowithLimitStringLengthInToString(int value) Copy the current immutable object by setting a value for thelimitStringLengthInToStringattribute.final ImmutableStyleInfowithNewBuilder(String value) Copy the current immutable object by setting a value for thenewBuilderattribute.final ImmutableStyleInfowithNullableAnnotation(String value) Copy the current immutable object by setting a value for thenullableAnnotationattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for theofattribute.final ImmutableStyleInfowithOptionalAcceptNullable(boolean value) Copy the current immutable object by setting a value for theoptionalAcceptNullableattribute.final ImmutableStyleInfowithOvershadowImplementation(boolean value) Copy the current immutable object by setting a value for theovershadowImplementationattribute.final ImmutableStyleInfowithPackageGenerated(String value) Copy the current immutable object by setting a value for thepackageGeneratedattribute.final ImmutableStyleInfowithPassAnnotationsNames(Iterable<String> elements) Copy the current immutable object with elements that replace the content ofpassAnnotationsNames.final ImmutableStyleInfowithPassAnnotationsNames(String... elements) Copy the current immutable object with elements that replace the content ofpassAnnotationsNames.final ImmutableStyleInfowithPrivateNoargConstructor(boolean value) Copy the current immutable object by setting a value for theprivateNoargConstructorattribute.final ImmutableStyleInfowithProtectedNoargConstructor(boolean value) Copy the current immutable object by setting a value for theprotectedNoargConstructorattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for theputattribute.final ImmutableStyleInfowithPutAll(String value) Copy the current immutable object by setting a value for theputAllattribute.final ImmutableStyleInfowithRedactedMask(String value) Copy the current immutable object by setting a value for theredactedMaskattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for thesetattribute.final ImmutableStyleInfowithSetBuilder(String value) Copy the current immutable object by setting a value for thesetBuilderattribute.final ImmutableStyleInfowithStagedBuilder(boolean value) Copy the current immutable object by setting a value for thestagedBuilderattribute.final ImmutableStyleInfowithStrictBuilder(boolean value) Copy the current immutable object by setting a value for thestrictBuilderattribute.final ImmutableStyleInfowithStrictModifiable(boolean value) Copy the current immutable object by setting a value for thestrictModifiableattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for thethrowForInvalidImmutableStateNameattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for thethrowForNullPointerNameattribute.final ImmutableStyleInfowithToBuilder(String value) Copy the current immutable object by setting a value for thetoBuilderattribute.final ImmutableStyleInfowithToImmutable(String value) Copy the current immutable object by setting a value for thetoImmutableattribute.final ImmutableStyleInfowithTransientDerivedFields(boolean value) Copy the current immutable object by setting a value for thetransientDerivedFieldsattribute.final ImmutableStyleInfowithTypeAbstract(String... elements) Copy the current immutable object with elements that replace the content oftypeAbstract.final ImmutableStyleInfowithTypeBuilder(String value) Copy the current immutable object by setting a value for thetypeBuilderattribute.final ImmutableStyleInfowithTypeImmutable(String value) Copy the current immutable object by setting a value for thetypeImmutableattribute.final ImmutableStyleInfowithTypeImmutableEnclosing(String value) Copy the current immutable object by setting a value for thetypeImmutableEnclosingattribute.final ImmutableStyleInfowithTypeImmutableNested(String value) Copy the current immutable object by setting a value for thetypeImmutableNestedattribute.final ImmutableStyleInfowithTypeInnerBuilder(String value) Copy the current immutable object by setting a value for thetypeInnerBuilderattribute.final ImmutableStyleInfowithTypeInnerModifiable(String value) Copy the current immutable object by setting a value for thetypeInnerModifiableattribute.final ImmutableStyleInfowithTypeModifiable(String value) Copy the current immutable object by setting a value for thetypeModifiableattribute.final ImmutableStyleInfowithTypeWith(String value) Copy the current immutable object by setting a value for thetypeWithattribute.final ImmutableStyleInfowithUnderrideEquals(String value) Copy the current immutable object by setting a value for theunderrideEqualsattribute.final ImmutableStyleInfowithUnderrideHashCode(String value) Copy the current immutable object by setting a value for theunderrideHashCodeattribute.final ImmutableStyleInfowithUnderrideToString(String value) Copy the current immutable object by setting a value for theunderrideToStringattribute.final ImmutableStyleInfowithUnsafeDefaultAndDerived(boolean value) Copy the current immutable object by setting a value for theunsafeDefaultAndDerivedattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for theunsetattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for thevalidationMethodattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for thevisibilityattribute.final ImmutableStyleInfowithVisibilityString(String value) Copy the current immutable object by setting a value for thevisibilityStringattribute.final ImmutableStyleInfowithWeakInterning(boolean value) Copy the current immutable object by setting a value for theweakInterningattribute.final ImmutableStyleInfoCopy the current immutable object by setting a value for thewithattribute.final ImmutableStyleInfowithWithUnaryOperator(String value) Copy the current immutable object by setting a value for thewithUnaryOperatorattribute.Methods inherited from class org.immutables.value.processor.meta.StyleInfo
additionalJsonAnnotations, allowedClasspathAnnotations, annotationType, fallbackNullableAnnotation, immutableCopyOfRoutines, infoFrom, passAnnotations, throwForInvalidImmutableState, throwForNullPointer
-
Field Details
-
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
private final boolean strictBuilder -
strictModifiable
private final boolean strictModifiable -
validationMethod
-
allParameters
private final boolean allParameters -
defaultAsDefault
private final boolean defaultAsDefault -
headerComments
private final boolean headerComments -
jdkOnly
private final boolean jdkOnly -
jdk9Collections
private final boolean jdk9Collections -
passAnnotationsNames
-
additionalJsonAnnotationsNames
-
visibility
-
visibilityString
-
optionalAcceptNullable
private final boolean optionalAcceptNullable -
generateSuppressAllWarnings
private final boolean generateSuppressAllWarnings -
privateNoargConstructor
private final boolean privateNoargConstructor -
protectedNoargConstructor
private final boolean protectedNoargConstructor -
attributelessSingleton
private final boolean attributelessSingleton -
unsafeDefaultAndDerived
private final boolean unsafeDefaultAndDerived -
clearBuilder
private final boolean clearBuilder -
deferCollectionAllocation
private final boolean deferCollectionAllocation -
deepImmutablesDetection
private final boolean deepImmutablesDetection -
overshadowImplementation
private final boolean overshadowImplementation -
implementationNestedInBuilder
private final boolean implementationNestedInBuilder -
forceJacksonPropertyNames
private final boolean forceJacksonPropertyNames -
forceJacksonIgnoreFields
private final boolean forceJacksonIgnoreFields -
forceEqualsInWithers
private final boolean forceEqualsInWithers -
jacksonIntegration
private final boolean jacksonIntegration -
weakInterning
private final boolean weakInterning -
alwaysPublicInitializers
private final boolean alwaysPublicInitializers -
builderVisibility
-
builderVisibilityString
-
throwForInvalidImmutableStateName
-
throwForNullPointerName
-
depluralize
private final boolean depluralize -
depluralizeDictionary
-
immutableCopyOfRoutinesNames
-
stagedBuilder
private final boolean stagedBuilder -
builtinContainerAttributes
private final boolean builtinContainerAttributes -
beanFriendlyModifiables
private final boolean beanFriendlyModifiables -
allMandatoryParameters
private final boolean allMandatoryParameters -
transientDerivedFields
private final boolean transientDerivedFields -
finalInstanceFields
private final boolean finalInstanceFields -
redactedMask
-
attributeBuilderDetection
private final boolean attributeBuilderDetection -
attributeBuilder
-
getBuilder
-
setBuilder
-
addBuilder
-
addAllBuilder
-
getBuilders
-
nullableAnnotation
-
allowedClasspathAnnotationsNames
-
fallbackNullableAnnotationName
-
limitStringLengthInToString
private final int limitStringLengthInToString -
jakarta
private final boolean jakarta -
lazyInitBitmap
private transient volatile long lazyInitBitmap -
GET_STYLES_LAZY_INIT_BIT
private static final long GET_STYLES_LAZY_INIT_BIT- See Also:
-
getStyles
-
-
Constructor Details
-
ImmutableStyleInfo
private ImmutableStyleInfo(String[] get, String init, String with, String withUnaryOperator, String add, String addAll, String put, String putAll, String copyOf, String of, String instance, String builder, String newBuilder, String from, String build, String buildOrThrow, String canBuild, String toBuilder, String underrideHashCode, String underrideEquals, String underrideToString, String delegateToString, String includeHashCode, String isInitialized, String isSet, String set, String unset, String clear, String create, String toImmutable, String typeBuilder, String typeInnerBuilder, String[] typeAbstract, String typeImmutable, String typeImmutableEnclosing, String typeImmutableNested, String typeModifiable, String typeInnerModifiable, String typeWith, String packageGenerated, ValueImmutableInfo defaults, boolean strictBuilder, boolean strictModifiable, ValueMirrors.Style.ValidationMethod validationMethod, boolean allParameters, boolean defaultAsDefault, boolean headerComments, boolean jdkOnly, boolean jdk9Collections, Iterable<String> passAnnotationsNames, Iterable<String> additionalJsonAnnotationsNames, ValueMirrors.Style.ImplementationVisibility visibility, String visibilityString, boolean optionalAcceptNullable, boolean generateSuppressAllWarnings, boolean privateNoargConstructor, boolean protectedNoargConstructor, boolean attributelessSingleton, boolean unsafeDefaultAndDerived, boolean clearBuilder, boolean deferCollectionAllocation, boolean deepImmutablesDetection, boolean overshadowImplementation, boolean implementationNestedInBuilder, boolean forceJacksonPropertyNames, boolean forceJacksonIgnoreFields, boolean forceEqualsInWithers, boolean jacksonIntegration, boolean weakInterning, boolean alwaysPublicInitializers, ValueMirrors.Style.BuilderVisibility builderVisibility, String builderVisibilityString, String throwForInvalidImmutableStateName, String throwForNullPointerName, boolean depluralize, String[] depluralizeDictionary, Iterable<String> immutableCopyOfRoutinesNames, boolean stagedBuilder, boolean builtinContainerAttributes, boolean beanFriendlyModifiables, boolean allMandatoryParameters, boolean transientDerivedFields, boolean finalInstanceFields, String redactedMask, boolean attributeBuilderDetection, String[] attributeBuilder, String getBuilder, String setBuilder, String addBuilder, String addAllBuilder, String getBuilders, String nullableAnnotation, Iterable<String> allowedClasspathAnnotationsNames, String fallbackNullableAnnotationName, int limitStringLengthInToString, boolean jakarta) -
ImmutableStyleInfo
private ImmutableStyleInfo(ImmutableStyleInfo original, String[] get, String init, String with, String withUnaryOperator, String add, String addAll, String put, String putAll, String copyOf, String of, String instance, String builder, String newBuilder, String from, String build, String buildOrThrow, String canBuild, String toBuilder, String underrideHashCode, String underrideEquals, String underrideToString, String delegateToString, String includeHashCode, String isInitialized, String isSet, String set, String unset, String clear, String create, String toImmutable, String typeBuilder, String typeInnerBuilder, String[] typeAbstract, String typeImmutable, String typeImmutableEnclosing, String typeImmutableNested, String typeModifiable, String typeInnerModifiable, String typeWith, String packageGenerated, ValueImmutableInfo defaults, boolean strictBuilder, boolean strictModifiable, ValueMirrors.Style.ValidationMethod validationMethod, boolean allParameters, boolean defaultAsDefault, boolean headerComments, boolean jdkOnly, boolean jdk9Collections, com.google.common.collect.ImmutableSet<String> passAnnotationsNames, com.google.common.collect.ImmutableSet<String> additionalJsonAnnotationsNames, ValueMirrors.Style.ImplementationVisibility visibility, String visibilityString, boolean optionalAcceptNullable, boolean generateSuppressAllWarnings, boolean privateNoargConstructor, boolean protectedNoargConstructor, boolean attributelessSingleton, boolean unsafeDefaultAndDerived, boolean clearBuilder, boolean deferCollectionAllocation, boolean deepImmutablesDetection, boolean overshadowImplementation, boolean implementationNestedInBuilder, boolean forceJacksonPropertyNames, boolean forceJacksonIgnoreFields, boolean forceEqualsInWithers, boolean jacksonIntegration, boolean weakInterning, boolean alwaysPublicInitializers, ValueMirrors.Style.BuilderVisibility builderVisibility, String builderVisibilityString, String throwForInvalidImmutableStateName, String throwForNullPointerName, boolean depluralize, String[] depluralizeDictionary, com.google.common.collect.ImmutableSet<String> immutableCopyOfRoutinesNames, boolean stagedBuilder, boolean builtinContainerAttributes, boolean beanFriendlyModifiables, boolean allMandatoryParameters, boolean transientDerivedFields, boolean finalInstanceFields, String redactedMask, boolean attributeBuilderDetection, String[] attributeBuilder, String getBuilder, String setBuilder, String addBuilder, String addAllBuilder, String getBuilders, String nullableAnnotation, com.google.common.collect.ImmutableSet<String> allowedClasspathAnnotationsNames, String fallbackNullableAnnotationName, int limitStringLengthInToString, boolean jakarta)
-
-
Method Details
-
get
-
init
-
with
-
withUnaryOperator
- Specified by:
withUnaryOperatorin classStyleInfo- Returns:
- The value of the
withUnaryOperatorattribute
-
add
-
addAll
-
put
-
putAll
-
copyOf
-
of
-
instance
-
builder
-
newBuilder
- Specified by:
newBuilderin classStyleInfo- Returns:
- The value of the
newBuilderattribute
-
from
-
build
-
buildOrThrow
- Specified by:
buildOrThrowin classStyleInfo- Returns:
- The value of the
buildOrThrowattribute
-
canBuild
-
toBuilder
-
underrideHashCode
- Specified by:
underrideHashCodein classStyleInfo- Returns:
- The value of the
underrideHashCodeattribute
-
underrideEquals
- Specified by:
underrideEqualsin classStyleInfo- Returns:
- The value of the
underrideEqualsattribute
-
underrideToString
- Specified by:
underrideToStringin classStyleInfo- Returns:
- The value of the
underrideToStringattribute
-
delegateToString
- Specified by:
delegateToStringin classStyleInfo- Returns:
- The value of the
delegateToStringattribute
-
includeHashCode
- Specified by:
includeHashCodein classStyleInfo- Returns:
- The value of the
includeHashCodeattribute
-
isInitialized
- Specified by:
isInitializedin classStyleInfo- Returns:
- The value of the
isInitializedattribute
-
isSet
-
set
-
unset
-
clear
-
create
-
toImmutable
- Specified by:
toImmutablein classStyleInfo- Returns:
- The value of the
toImmutableattribute
-
typeBuilder
- Specified by:
typeBuilderin classStyleInfo- Returns:
- The value of the
typeBuilderattribute
-
typeInnerBuilder
- Specified by:
typeInnerBuilderin classStyleInfo- Returns:
- The value of the
typeInnerBuilderattribute
-
typeAbstract
- Specified by:
typeAbstractin classStyleInfo- Returns:
- A cloned
typeAbstractarray
-
typeImmutable
- Specified by:
typeImmutablein classStyleInfo- Returns:
- The value of the
typeImmutableattribute
-
typeImmutableEnclosing
- Specified by:
typeImmutableEnclosingin classStyleInfo- Returns:
- The value of the
typeImmutableEnclosingattribute
-
typeImmutableNested
- Specified by:
typeImmutableNestedin classStyleInfo- Returns:
- The value of the
typeImmutableNestedattribute
-
typeModifiable
- Specified by:
typeModifiablein classStyleInfo- Returns:
- The value of the
typeModifiableattribute
-
typeInnerModifiable
- Specified by:
typeInnerModifiablein classStyleInfo- Returns:
- The value of the
typeInnerModifiableattribute
-
typeWith
-
packageGenerated
- Specified by:
packageGeneratedin classStyleInfo- Returns:
- The value of the
packageGeneratedattribute
-
defaults
-
strictBuilder
public boolean strictBuilder()- Specified by:
strictBuilderin classStyleInfo- Returns:
- The value of the
strictBuilderattribute
-
strictModifiable
public boolean strictModifiable()- Specified by:
strictModifiablein classStyleInfo- Returns:
- The value of the
strictModifiableattribute
-
validationMethod
- Specified by:
validationMethodin classStyleInfo- Returns:
- The value of the
validationMethodattribute
-
allParameters
public boolean allParameters()- Specified by:
allParametersin classStyleInfo- Returns:
- The value of the
allParametersattribute
-
defaultAsDefault
public boolean defaultAsDefault()- Specified by:
defaultAsDefaultin classStyleInfo- Returns:
- The value of the
defaultAsDefaultattribute
-
headerComments
public boolean headerComments()- Specified by:
headerCommentsin classStyleInfo- Returns:
- The value of the
headerCommentsattribute
-
jdkOnly
public boolean jdkOnly() -
jdk9Collections
public boolean jdk9Collections()- Specified by:
jdk9Collectionsin classStyleInfo- Returns:
- The value of the
jdk9Collectionsattribute
-
passAnnotationsNames
- Specified by:
passAnnotationsNamesin classStyleInfo- Returns:
- The value of the
passAnnotationsNamesattribute
-
additionalJsonAnnotationsNames
- Specified by:
additionalJsonAnnotationsNamesin classStyleInfo- Returns:
- The value of the
additionalJsonAnnotationsNamesattribute
-
visibility
- Specified by:
visibilityin classStyleInfo- Returns:
- The value of the
visibilityattribute
-
visibilityString
- Specified by:
visibilityStringin classStyleInfo- Returns:
- The value of the
visibilityStringattribute
-
optionalAcceptNullable
public boolean optionalAcceptNullable()- Specified by:
optionalAcceptNullablein classStyleInfo- Returns:
- The value of the
optionalAcceptNullableattribute
-
generateSuppressAllWarnings
public boolean generateSuppressAllWarnings()- Specified by:
generateSuppressAllWarningsin classStyleInfo- Returns:
- The value of the
generateSuppressAllWarningsattribute
-
privateNoargConstructor
public boolean privateNoargConstructor()- Specified by:
privateNoargConstructorin classStyleInfo- Returns:
- The value of the
privateNoargConstructorattribute
-
protectedNoargConstructor
public boolean protectedNoargConstructor()- Specified by:
protectedNoargConstructorin classStyleInfo- Returns:
- The value of the
protectedNoargConstructorattribute
-
attributelessSingleton
public boolean attributelessSingleton()- Specified by:
attributelessSingletonin classStyleInfo- Returns:
- The value of the
attributelessSingletonattribute
-
unsafeDefaultAndDerived
public boolean unsafeDefaultAndDerived()- Specified by:
unsafeDefaultAndDerivedin classStyleInfo- Returns:
- The value of the
unsafeDefaultAndDerivedattribute
-
clearBuilder
public boolean clearBuilder()- Specified by:
clearBuilderin classStyleInfo- Returns:
- The value of the
clearBuilderattribute
-
deferCollectionAllocation
public boolean deferCollectionAllocation()- Specified by:
deferCollectionAllocationin classStyleInfo- Returns:
- The value of the
deferCollectionAllocationattribute
-
deepImmutablesDetection
public boolean deepImmutablesDetection()- Specified by:
deepImmutablesDetectionin classStyleInfo- Returns:
- The value of the
deepImmutablesDetectionattribute
-
overshadowImplementation
public boolean overshadowImplementation()- Specified by:
overshadowImplementationin classStyleInfo- Returns:
- The value of the
overshadowImplementationattribute
-
implementationNestedInBuilder
public boolean implementationNestedInBuilder()- Specified by:
implementationNestedInBuilderin classStyleInfo- Returns:
- The value of the
implementationNestedInBuilderattribute
-
forceJacksonPropertyNames
public boolean forceJacksonPropertyNames()- Specified by:
forceJacksonPropertyNamesin classStyleInfo- Returns:
- The value of the
forceJacksonPropertyNamesattribute
-
forceJacksonIgnoreFields
public boolean forceJacksonIgnoreFields()- Specified by:
forceJacksonIgnoreFieldsin classStyleInfo- Returns:
- The value of the
forceJacksonIgnoreFieldsattribute
-
forceEqualsInWithers
public boolean forceEqualsInWithers()- Specified by:
forceEqualsInWithersin classStyleInfo- Returns:
- The value of the
forceEqualsInWithersattribute
-
jacksonIntegration
public boolean jacksonIntegration()- Specified by:
jacksonIntegrationin classStyleInfo- Returns:
- The value of the
jacksonIntegrationattribute
-
weakInterning
public boolean weakInterning()- Specified by:
weakInterningin classStyleInfo- Returns:
- The value of the
weakInterningattribute
-
alwaysPublicInitializers
public boolean alwaysPublicInitializers()- Specified by:
alwaysPublicInitializersin classStyleInfo- Returns:
- The value of the
alwaysPublicInitializersattribute
-
builderVisibility
- Specified by:
builderVisibilityin classStyleInfo- Returns:
- The value of the
builderVisibilityattribute
-
builderVisibilityString
- Specified by:
builderVisibilityStringin classStyleInfo- Returns:
- The value of the
builderVisibilityStringattribute
-
throwForInvalidImmutableStateName
- Specified by:
throwForInvalidImmutableStateNamein classStyleInfo- Returns:
- The value of the
throwForInvalidImmutableStateNameattribute
-
throwForNullPointerName
- Specified by:
throwForNullPointerNamein classStyleInfo- Returns:
- The value of the
throwForNullPointerNameattribute
-
depluralize
public boolean depluralize()- Specified by:
depluralizein classStyleInfo- Returns:
- The value of the
depluralizeattribute
-
depluralizeDictionary
- Specified by:
depluralizeDictionaryin classStyleInfo- Returns:
- A cloned
depluralizeDictionaryarray
-
immutableCopyOfRoutinesNames
- Specified by:
immutableCopyOfRoutinesNamesin classStyleInfo- Returns:
- The value of the
immutableCopyOfRoutinesNamesattribute
-
stagedBuilder
public boolean stagedBuilder()- Specified by:
stagedBuilderin classStyleInfo- Returns:
- The value of the
stagedBuilderattribute
-
builtinContainerAttributes
public boolean builtinContainerAttributes()- Specified by:
builtinContainerAttributesin classStyleInfo- Returns:
- The value of the
builtinContainerAttributesattribute
-
beanFriendlyModifiables
public boolean beanFriendlyModifiables()- Specified by:
beanFriendlyModifiablesin classStyleInfo- Returns:
- The value of the
beanFriendlyModifiablesattribute
-
allMandatoryParameters
public boolean allMandatoryParameters()- Specified by:
allMandatoryParametersin classStyleInfo- Returns:
- The value of the
allMandatoryParametersattribute
-
transientDerivedFields
public boolean transientDerivedFields()- Specified by:
transientDerivedFieldsin classStyleInfo- Returns:
- The value of the
transientDerivedFieldsattribute
-
finalInstanceFields
public boolean finalInstanceFields()- Specified by:
finalInstanceFieldsin classStyleInfo- Returns:
- The value of the
finalInstanceFieldsattribute
-
redactedMask
- Specified by:
redactedMaskin classStyleInfo- Returns:
- The value of the
redactedMaskattribute
-
attributeBuilderDetection
public boolean attributeBuilderDetection()- Specified by:
attributeBuilderDetectionin classStyleInfo- Returns:
- The value of the
attributeBuilderDetectionattribute
-
attributeBuilder
- Specified by:
attributeBuilderin classStyleInfo- Returns:
- A cloned
attributeBuilderarray
-
getBuilder
- Specified by:
getBuilderin classStyleInfo- Returns:
- The value of the
getBuilderattribute
-
setBuilder
- Specified by:
setBuilderin classStyleInfo- Returns:
- The value of the
setBuilderattribute
-
addBuilder
- Specified by:
addBuilderin classStyleInfo- Returns:
- The value of the
addBuilderattribute
-
addAllBuilder
- Specified by:
addAllBuilderin classStyleInfo- Returns:
- The value of the
addAllBuilderattribute
-
getBuilders
- Specified by:
getBuildersin classStyleInfo- Returns:
- The value of the
getBuildersattribute
-
nullableAnnotation
- Specified by:
nullableAnnotationin classStyleInfo- Returns:
- The value of the
nullableAnnotationattribute
-
allowedClasspathAnnotationsNames
- Specified by:
allowedClasspathAnnotationsNamesin classStyleInfo- Returns:
- The value of the
allowedClasspathAnnotationsNamesattribute
-
fallbackNullableAnnotationName
- Specified by:
fallbackNullableAnnotationNamein classStyleInfo- Returns:
- The value of the
fallbackNullableAnnotationNameattribute
-
limitStringLengthInToString
public int limitStringLengthInToString()- Specified by:
limitStringLengthInToStringin classStyleInfo- Returns:
- The value of the
limitStringLengthInToStringattribute
-
jakarta
public boolean jakarta() -
withGet
Copy the current immutable object with elements that replace the content ofget. The array is cloned before being saved as attribute values.- Parameters:
elements- The non-null elements for get- Returns:
- A modified copy of
thisobject
-
withInit
Copy the current immutable object by setting a value for theinitattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for init- Returns:
- A modified copy of the
thisobject
-
withWith
Copy the current immutable object by setting a value for thewithattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for with- Returns:
- A modified copy of the
thisobject
-
withWithUnaryOperator
Copy the current immutable object by setting a value for thewithUnaryOperatorattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for withUnaryOperator- Returns:
- A modified copy of the
thisobject
-
withAdd
Copy the current immutable object by setting a value for theaddattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for add- Returns:
- A modified copy of the
thisobject
-
withAddAll
Copy the current immutable object by setting a value for theaddAllattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for addAll- Returns:
- A modified copy of the
thisobject
-
withPut
Copy the current immutable object by setting a value for theputattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for put- Returns:
- A modified copy of the
thisobject
-
withPutAll
Copy the current immutable object by setting a value for theputAllattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for putAll- Returns:
- A modified copy of the
thisobject
-
withCopyOf
Copy the current immutable object by setting a value for thecopyOfattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for copyOf- Returns:
- A modified copy of the
thisobject
-
withOf
Copy the current immutable object by setting a value for theofattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for of- Returns:
- A modified copy of the
thisobject
-
withInstance
Copy the current immutable object by setting a value for theinstanceattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for instance- Returns:
- A modified copy of the
thisobject
-
withBuilder
Copy the current immutable object by setting a value for thebuilderattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for builder- Returns:
- A modified copy of the
thisobject
-
withNewBuilder
Copy the current immutable object by setting a value for thenewBuilderattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for newBuilder- Returns:
- A modified copy of the
thisobject
-
withFrom
Copy the current immutable object by setting a value for thefromattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for from- Returns:
- A modified copy of the
thisobject
-
withBuild
Copy the current immutable object by setting a value for thebuildattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for build- Returns:
- A modified copy of the
thisobject
-
withBuildOrThrow
Copy the current immutable object by setting a value for thebuildOrThrowattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for buildOrThrow- Returns:
- A modified copy of the
thisobject
-
withCanBuild
Copy the current immutable object by setting a value for thecanBuildattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for canBuild- Returns:
- A modified copy of the
thisobject
-
withToBuilder
Copy the current immutable object by setting a value for thetoBuilderattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for toBuilder- Returns:
- A modified copy of the
thisobject
-
withUnderrideHashCode
Copy the current immutable object by setting a value for theunderrideHashCodeattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for underrideHashCode- Returns:
- A modified copy of the
thisobject
-
withUnderrideEquals
Copy the current immutable object by setting a value for theunderrideEqualsattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for underrideEquals- Returns:
- A modified copy of the
thisobject
-
withUnderrideToString
Copy the current immutable object by setting a value for theunderrideToStringattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for underrideToString- Returns:
- A modified copy of the
thisobject
-
withDelegateToString
Copy the current immutable object by setting a value for thedelegateToStringattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for delegateToString- Returns:
- A modified copy of the
thisobject
-
withIncludeHashCode
Copy the current immutable object by setting a value for theincludeHashCodeattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for includeHashCode- Returns:
- A modified copy of the
thisobject
-
withIsInitialized
Copy the current immutable object by setting a value for theisInitializedattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for isInitialized- Returns:
- A modified copy of the
thisobject
-
withIsSet
Copy the current immutable object by setting a value for theisSetattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for isSet- Returns:
- A modified copy of the
thisobject
-
withSet
Copy the current immutable object by setting a value for thesetattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for set- Returns:
- A modified copy of the
thisobject
-
withUnset
Copy the current immutable object by setting a value for theunsetattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for unset- Returns:
- A modified copy of the
thisobject
-
withClear
Copy the current immutable object by setting a value for theclearattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for clear- Returns:
- A modified copy of the
thisobject
-
withCreate
Copy the current immutable object by setting a value for thecreateattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for create- Returns:
- A modified copy of the
thisobject
-
withToImmutable
Copy the current immutable object by setting a value for thetoImmutableattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for toImmutable- Returns:
- A modified copy of the
thisobject
-
withTypeBuilder
Copy the current immutable object by setting a value for thetypeBuilderattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for typeBuilder- Returns:
- A modified copy of the
thisobject
-
withTypeInnerBuilder
Copy the current immutable object by setting a value for thetypeInnerBuilderattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for typeInnerBuilder- Returns:
- A modified copy of the
thisobject
-
withTypeAbstract
Copy the current immutable object with elements that replace the content oftypeAbstract. The array is cloned before being saved as attribute values.- Parameters:
elements- The non-null elements for typeAbstract- Returns:
- A modified copy of
thisobject
-
withTypeImmutable
Copy the current immutable object by setting a value for thetypeImmutableattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for typeImmutable- Returns:
- A modified copy of the
thisobject
-
withTypeImmutableEnclosing
Copy the current immutable object by setting a value for thetypeImmutableEnclosingattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for typeImmutableEnclosing- Returns:
- A modified copy of the
thisobject
-
withTypeImmutableNested
Copy the current immutable object by setting a value for thetypeImmutableNestedattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for typeImmutableNested- Returns:
- A modified copy of the
thisobject
-
withTypeModifiable
Copy the current immutable object by setting a value for thetypeModifiableattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for typeModifiable- Returns:
- A modified copy of the
thisobject
-
withTypeInnerModifiable
Copy the current immutable object by setting a value for thetypeInnerModifiableattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for typeInnerModifiable- Returns:
- A modified copy of the
thisobject
-
withTypeWith
Copy the current immutable object by setting a value for thetypeWithattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for typeWith- Returns:
- A modified copy of the
thisobject
-
withPackageGenerated
Copy the current immutable object by setting a value for thepackageGeneratedattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for packageGenerated- Returns:
- A modified copy of the
thisobject
-
withDefaults
Copy the current immutable object by setting a value for thedefaultsattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for defaults- Returns:
- A modified copy of the
thisobject
-
withStrictBuilder
Copy the current immutable object by setting a value for thestrictBuilderattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for strictBuilder- Returns:
- A modified copy of the
thisobject
-
withStrictModifiable
Copy the current immutable object by setting a value for thestrictModifiableattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for strictModifiable- Returns:
- A modified copy of the
thisobject
-
withValidationMethod
Copy the current immutable object by setting a value for thevalidationMethodattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for validationMethod- Returns:
- A modified copy of the
thisobject
-
withAllParameters
Copy the current immutable object by setting a value for theallParametersattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for allParameters- Returns:
- A modified copy of the
thisobject
-
withDefaultAsDefault
Copy the current immutable object by setting a value for thedefaultAsDefaultattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for defaultAsDefault- Returns:
- A modified copy of the
thisobject
-
withHeaderComments
Copy the current immutable object by setting a value for theheaderCommentsattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for headerComments- Returns:
- A modified copy of the
thisobject
-
withJdkOnly
Copy the current immutable object by setting a value for thejdkOnlyattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for jdkOnly- Returns:
- A modified copy of the
thisobject
-
withJdk9Collections
Copy the current immutable object by setting a value for thejdk9Collectionsattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for jdk9Collections- Returns:
- A modified copy of the
thisobject
-
withPassAnnotationsNames
Copy the current immutable object with elements that replace the content ofpassAnnotationsNames.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withPassAnnotationsNames
Copy the current immutable object with elements that replace the content ofpassAnnotationsNames. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of passAnnotationsNames elements to set- Returns:
- A modified copy of
thisobject
-
withAdditionalJsonAnnotationsNames
Copy the current immutable object with elements that replace the content ofadditionalJsonAnnotationsNames.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withAdditionalJsonAnnotationsNames
Copy the current immutable object with elements that replace the content ofadditionalJsonAnnotationsNames. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of additionalJsonAnnotationsNames elements to set- Returns:
- A modified copy of
thisobject
-
withVisibility
Copy the current immutable object by setting a value for thevisibilityattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for visibility- Returns:
- A modified copy of the
thisobject
-
withVisibilityString
Copy the current immutable object by setting a value for thevisibilityStringattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for visibilityString- Returns:
- A modified copy of the
thisobject
-
withOptionalAcceptNullable
Copy the current immutable object by setting a value for theoptionalAcceptNullableattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for optionalAcceptNullable- Returns:
- A modified copy of the
thisobject
-
withGenerateSuppressAllWarnings
Copy the current immutable object by setting a value for thegenerateSuppressAllWarningsattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for generateSuppressAllWarnings- Returns:
- A modified copy of the
thisobject
-
withPrivateNoargConstructor
Copy the current immutable object by setting a value for theprivateNoargConstructorattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for privateNoargConstructor- Returns:
- A modified copy of the
thisobject
-
withProtectedNoargConstructor
Copy the current immutable object by setting a value for theprotectedNoargConstructorattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for protectedNoargConstructor- Returns:
- A modified copy of the
thisobject
-
withAttributelessSingleton
Copy the current immutable object by setting a value for theattributelessSingletonattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for attributelessSingleton- Returns:
- A modified copy of the
thisobject
-
withUnsafeDefaultAndDerived
Copy the current immutable object by setting a value for theunsafeDefaultAndDerivedattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for unsafeDefaultAndDerived- Returns:
- A modified copy of the
thisobject
-
withClearBuilder
Copy the current immutable object by setting a value for theclearBuilderattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for clearBuilder- Returns:
- A modified copy of the
thisobject
-
withDeferCollectionAllocation
Copy the current immutable object by setting a value for thedeferCollectionAllocationattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for deferCollectionAllocation- Returns:
- A modified copy of the
thisobject
-
withDeepImmutablesDetection
Copy the current immutable object by setting a value for thedeepImmutablesDetectionattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for deepImmutablesDetection- Returns:
- A modified copy of the
thisobject
-
withOvershadowImplementation
Copy the current immutable object by setting a value for theovershadowImplementationattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for overshadowImplementation- Returns:
- A modified copy of the
thisobject
-
withImplementationNestedInBuilder
Copy the current immutable object by setting a value for theimplementationNestedInBuilderattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for implementationNestedInBuilder- Returns:
- A modified copy of the
thisobject
-
withForceJacksonPropertyNames
Copy the current immutable object by setting a value for theforceJacksonPropertyNamesattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for forceJacksonPropertyNames- Returns:
- A modified copy of the
thisobject
-
withForceJacksonIgnoreFields
Copy the current immutable object by setting a value for theforceJacksonIgnoreFieldsattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for forceJacksonIgnoreFields- Returns:
- A modified copy of the
thisobject
-
withForceEqualsInWithers
Copy the current immutable object by setting a value for theforceEqualsInWithersattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for forceEqualsInWithers- Returns:
- A modified copy of the
thisobject
-
withJacksonIntegration
Copy the current immutable object by setting a value for thejacksonIntegrationattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for jacksonIntegration- Returns:
- A modified copy of the
thisobject
-
withWeakInterning
Copy the current immutable object by setting a value for theweakInterningattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for weakInterning- Returns:
- A modified copy of the
thisobject
-
withAlwaysPublicInitializers
Copy the current immutable object by setting a value for thealwaysPublicInitializersattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for alwaysPublicInitializers- Returns:
- A modified copy of the
thisobject
-
withBuilderVisibility
Copy the current immutable object by setting a value for thebuilderVisibilityattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for builderVisibility- Returns:
- A modified copy of the
thisobject
-
withBuilderVisibilityString
Copy the current immutable object by setting a value for thebuilderVisibilityStringattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for builderVisibilityString- Returns:
- A modified copy of the
thisobject
-
withThrowForInvalidImmutableStateName
Copy the current immutable object by setting a value for thethrowForInvalidImmutableStateNameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for throwForInvalidImmutableStateName- Returns:
- A modified copy of the
thisobject
-
withThrowForNullPointerName
Copy the current immutable object by setting a value for thethrowForNullPointerNameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for throwForNullPointerName- Returns:
- A modified copy of the
thisobject
-
withDepluralize
Copy the current immutable object by setting a value for thedepluralizeattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for depluralize- Returns:
- A modified copy of the
thisobject
-
withDepluralizeDictionary
Copy the current immutable object with elements that replace the content ofdepluralizeDictionary. The array is cloned before being saved as attribute values.- Parameters:
elements- The non-null elements for depluralizeDictionary- Returns:
- A modified copy of
thisobject
-
withImmutableCopyOfRoutinesNames
Copy the current immutable object with elements that replace the content ofimmutableCopyOfRoutinesNames.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withImmutableCopyOfRoutinesNames
Copy the current immutable object with elements that replace the content ofimmutableCopyOfRoutinesNames. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of immutableCopyOfRoutinesNames elements to set- Returns:
- A modified copy of
thisobject
-
withStagedBuilder
Copy the current immutable object by setting a value for thestagedBuilderattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for stagedBuilder- Returns:
- A modified copy of the
thisobject
-
withBuiltinContainerAttributes
Copy the current immutable object by setting a value for thebuiltinContainerAttributesattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for builtinContainerAttributes- Returns:
- A modified copy of the
thisobject
-
withBeanFriendlyModifiables
Copy the current immutable object by setting a value for thebeanFriendlyModifiablesattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for beanFriendlyModifiables- Returns:
- A modified copy of the
thisobject
-
withAllMandatoryParameters
Copy the current immutable object by setting a value for theallMandatoryParametersattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for allMandatoryParameters- Returns:
- A modified copy of the
thisobject
-
withTransientDerivedFields
Copy the current immutable object by setting a value for thetransientDerivedFieldsattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for transientDerivedFields- Returns:
- A modified copy of the
thisobject
-
withFinalInstanceFields
Copy the current immutable object by setting a value for thefinalInstanceFieldsattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for finalInstanceFields- Returns:
- A modified copy of the
thisobject
-
withRedactedMask
Copy the current immutable object by setting a value for theredactedMaskattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for redactedMask- Returns:
- A modified copy of the
thisobject
-
withAttributeBuilderDetection
Copy the current immutable object by setting a value for theattributeBuilderDetectionattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for attributeBuilderDetection- Returns:
- A modified copy of the
thisobject
-
withAttributeBuilder
Copy the current immutable object with elements that replace the content ofattributeBuilder. The array is cloned before being saved as attribute values.- Parameters:
elements- The non-null elements for attributeBuilder- Returns:
- A modified copy of
thisobject
-
withGetBuilder
Copy the current immutable object by setting a value for thegetBuilderattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for getBuilder- Returns:
- A modified copy of the
thisobject
-
withSetBuilder
Copy the current immutable object by setting a value for thesetBuilderattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for setBuilder- Returns:
- A modified copy of the
thisobject
-
withAddBuilder
Copy the current immutable object by setting a value for theaddBuilderattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for addBuilder- Returns:
- A modified copy of the
thisobject
-
withAddAllBuilder
Copy the current immutable object by setting a value for theaddAllBuilderattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for addAllBuilder- Returns:
- A modified copy of the
thisobject
-
withGetBuilders
Copy the current immutable object by setting a value for thegetBuildersattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for getBuilders- Returns:
- A modified copy of the
thisobject
-
withNullableAnnotation
Copy the current immutable object by setting a value for thenullableAnnotationattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for nullableAnnotation- Returns:
- A modified copy of the
thisobject
-
withAllowedClasspathAnnotationsNames
Copy the current immutable object with elements that replace the content ofallowedClasspathAnnotationsNames.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withAllowedClasspathAnnotationsNames
Copy the current immutable object with elements that replace the content ofallowedClasspathAnnotationsNames. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of allowedClasspathAnnotationsNames elements to set- Returns:
- A modified copy of
thisobject
-
withFallbackNullableAnnotationName
Copy the current immutable object by setting a value for thefallbackNullableAnnotationNameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for fallbackNullableAnnotationName- Returns:
- A modified copy of the
thisobject
-
withLimitStringLengthInToString
Copy the current immutable object by setting a value for thelimitStringLengthInToStringattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for limitStringLengthInToString- Returns:
- A modified copy of the
thisobject
-
withJakarta
Copy the current immutable object by setting a value for thejakartaattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for jakarta- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableStyleInfothat have equal attribute values. As instances of theImmutableStyleInfoclass are interned, theequalsmethod is implemented as an efficient reference equality check.- Specified by:
equalsin interfaceAnnotation- Overrides:
equalsin classObject- Returns:
trueifthisis equal toanotherinstance
-
equalTo
-
hashCode
public int hashCode()Computes a hash code from attributes: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,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,stagedBuilder,builtinContainerAttributes,beanFriendlyModifiables,allMandatoryParameters,transientDerivedFields,finalInstanceFields,redactedMask,attributeBuilderDetection,attributeBuilder,getBuilder,setBuilder,addBuilder,addAllBuilder,getBuilders,nullableAnnotation,allowedClasspathAnnotationsNames,fallbackNullableAnnotationName,limitStringLengthInToString,jakarta.- Specified by:
hashCodein interfaceAnnotation- Overrides:
hashCodein classObject- Returns:
- hashCode value
-
toString
Prints the immutable valueStyleInfowith attribute values.- Specified by:
toStringin interfaceAnnotation- Overrides:
toStringin classObject- Returns:
- A string representation of the value
-
getStyles
Returns a lazily initialized value of the
getStylesattribute. Initialized once and only once and stored for subsequent access with proper synchronization. In case of any exception or error thrown by the lazy value initializer, the result will not be memoised (i.e. remembered) and on next call computation will be attempted again. -
of
public static ImmutableStyleInfo of(String[] get, String init, String with, String withUnaryOperator, String add, String addAll, String put, String putAll, String copyOf, String of, String instance, String builder, String newBuilder, String from, String build, String buildOrThrow, String canBuild, String toBuilder, String underrideHashCode, String underrideEquals, String underrideToString, String delegateToString, String includeHashCode, String isInitialized, String isSet, String set, String unset, String clear, String create, String toImmutable, String typeBuilder, String typeInnerBuilder, String[] typeAbstract, String typeImmutable, String typeImmutableEnclosing, String typeImmutableNested, String typeModifiable, String typeInnerModifiable, String typeWith, String packageGenerated, ValueImmutableInfo defaults, boolean strictBuilder, boolean strictModifiable, ValueMirrors.Style.ValidationMethod validationMethod, boolean allParameters, boolean defaultAsDefault, boolean headerComments, boolean jdkOnly, boolean jdk9Collections, com.google.common.collect.ImmutableSet<String> passAnnotationsNames, com.google.common.collect.ImmutableSet<String> additionalJsonAnnotationsNames, ValueMirrors.Style.ImplementationVisibility visibility, String visibilityString, boolean optionalAcceptNullable, boolean generateSuppressAllWarnings, boolean privateNoargConstructor, boolean protectedNoargConstructor, boolean attributelessSingleton, boolean unsafeDefaultAndDerived, boolean clearBuilder, boolean deferCollectionAllocation, boolean deepImmutablesDetection, boolean overshadowImplementation, boolean implementationNestedInBuilder, boolean forceJacksonPropertyNames, boolean forceJacksonIgnoreFields, boolean forceEqualsInWithers, boolean jacksonIntegration, boolean weakInterning, boolean alwaysPublicInitializers, ValueMirrors.Style.BuilderVisibility builderVisibility, String builderVisibilityString, String throwForInvalidImmutableStateName, String throwForNullPointerName, boolean depluralize, String[] depluralizeDictionary, com.google.common.collect.ImmutableSet<String> immutableCopyOfRoutinesNames, boolean stagedBuilder, boolean builtinContainerAttributes, boolean beanFriendlyModifiables, boolean allMandatoryParameters, boolean transientDerivedFields, boolean finalInstanceFields, String redactedMask, boolean attributeBuilderDetection, String[] attributeBuilder, String getBuilder, String setBuilder, String addBuilder, String addAllBuilder, String getBuilders, String nullableAnnotation, com.google.common.collect.ImmutableSet<String> allowedClasspathAnnotationsNames, String fallbackNullableAnnotationName, int limitStringLengthInToString, boolean jakarta) Construct a new immutableStyleInfoinstance.- Parameters:
get- The value for thegetattributeinit- The value for theinitattributewith- The value for thewithattributewithUnaryOperator- The value for thewithUnaryOperatorattributeadd- The value for theaddattributeaddAll- The value for theaddAllattributeput- The value for theputattributeputAll- The value for theputAllattributecopyOf- The value for thecopyOfattributeof- The value for theofattributeinstance- The value for theinstanceattributebuilder- The value for thebuilderattributenewBuilder- The value for thenewBuilderattributefrom- The value for thefromattributebuild- The value for thebuildattributebuildOrThrow- The value for thebuildOrThrowattributecanBuild- The value for thecanBuildattributetoBuilder- The value for thetoBuilderattributeunderrideHashCode- The value for theunderrideHashCodeattributeunderrideEquals- The value for theunderrideEqualsattributeunderrideToString- The value for theunderrideToStringattributedelegateToString- The value for thedelegateToStringattributeincludeHashCode- The value for theincludeHashCodeattributeisInitialized- The value for theisInitializedattributeisSet- The value for theisSetattributeset- The value for thesetattributeunset- The value for theunsetattributeclear- The value for theclearattributecreate- The value for thecreateattributetoImmutable- The value for thetoImmutableattributetypeBuilder- The value for thetypeBuilderattributetypeInnerBuilder- The value for thetypeInnerBuilderattributetypeAbstract- The value for thetypeAbstractattributetypeImmutable- The value for thetypeImmutableattributetypeImmutableEnclosing- The value for thetypeImmutableEnclosingattributetypeImmutableNested- The value for thetypeImmutableNestedattributetypeModifiable- The value for thetypeModifiableattributetypeInnerModifiable- The value for thetypeInnerModifiableattributetypeWith- The value for thetypeWithattributepackageGenerated- The value for thepackageGeneratedattributedefaults- The value for thedefaultsattributestrictBuilder- The value for thestrictBuilderattributestrictModifiable- The value for thestrictModifiableattributevalidationMethod- The value for thevalidationMethodattributeallParameters- The value for theallParametersattributedefaultAsDefault- The value for thedefaultAsDefaultattributeheaderComments- The value for theheaderCommentsattributejdkOnly- The value for thejdkOnlyattributejdk9Collections- The value for thejdk9CollectionsattributepassAnnotationsNames- The value for thepassAnnotationsNamesattributeadditionalJsonAnnotationsNames- The value for theadditionalJsonAnnotationsNamesattributevisibility- The value for thevisibilityattributevisibilityString- The value for thevisibilityStringattributeoptionalAcceptNullable- The value for theoptionalAcceptNullableattributegenerateSuppressAllWarnings- The value for thegenerateSuppressAllWarningsattributeprivateNoargConstructor- The value for theprivateNoargConstructorattributeprotectedNoargConstructor- The value for theprotectedNoargConstructorattributeattributelessSingleton- The value for theattributelessSingletonattributeunsafeDefaultAndDerived- The value for theunsafeDefaultAndDerivedattributeclearBuilder- The value for theclearBuilderattributedeferCollectionAllocation- The value for thedeferCollectionAllocationattributedeepImmutablesDetection- The value for thedeepImmutablesDetectionattributeovershadowImplementation- The value for theovershadowImplementationattributeimplementationNestedInBuilder- The value for theimplementationNestedInBuilderattributeforceJacksonPropertyNames- The value for theforceJacksonPropertyNamesattributeforceJacksonIgnoreFields- The value for theforceJacksonIgnoreFieldsattributeforceEqualsInWithers- The value for theforceEqualsInWithersattributejacksonIntegration- The value for thejacksonIntegrationattributeweakInterning- The value for theweakInterningattributealwaysPublicInitializers- The value for thealwaysPublicInitializersattributebuilderVisibility- The value for thebuilderVisibilityattributebuilderVisibilityString- The value for thebuilderVisibilityStringattributethrowForInvalidImmutableStateName- The value for thethrowForInvalidImmutableStateNameattributethrowForNullPointerName- The value for thethrowForNullPointerNameattributedepluralize- The value for thedepluralizeattributedepluralizeDictionary- The value for thedepluralizeDictionaryattributeimmutableCopyOfRoutinesNames- The value for theimmutableCopyOfRoutinesNamesattributestagedBuilder- The value for thestagedBuilderattributebuiltinContainerAttributes- The value for thebuiltinContainerAttributesattributebeanFriendlyModifiables- The value for thebeanFriendlyModifiablesattributeallMandatoryParameters- The value for theallMandatoryParametersattributetransientDerivedFields- The value for thetransientDerivedFieldsattributefinalInstanceFields- The value for thefinalInstanceFieldsattributeredactedMask- The value for theredactedMaskattributeattributeBuilderDetection- The value for theattributeBuilderDetectionattributeattributeBuilder- The value for theattributeBuilderattributegetBuilder- The value for thegetBuilderattributesetBuilder- The value for thesetBuilderattributeaddBuilder- The value for theaddBuilderattributeaddAllBuilder- The value for theaddAllBuilderattributegetBuilders- The value for thegetBuildersattributenullableAnnotation- The value for thenullableAnnotationattributeallowedClasspathAnnotationsNames- The value for theallowedClasspathAnnotationsNamesattributefallbackNullableAnnotationName- The value for thefallbackNullableAnnotationNameattributelimitStringLengthInToString- The value for thelimitStringLengthInToStringattributejakarta- The value for thejakartaattribute- Returns:
- An immutable StyleInfo instance
-
of
public static ImmutableStyleInfo of(String[] get, String init, String with, String withUnaryOperator, String add, String addAll, String put, String putAll, String copyOf, String of, String instance, String builder, String newBuilder, String from, String build, String buildOrThrow, String canBuild, String toBuilder, String underrideHashCode, String underrideEquals, String underrideToString, String delegateToString, String includeHashCode, String isInitialized, String isSet, String set, String unset, String clear, String create, String toImmutable, String typeBuilder, String typeInnerBuilder, String[] typeAbstract, String typeImmutable, String typeImmutableEnclosing, String typeImmutableNested, String typeModifiable, String typeInnerModifiable, String typeWith, String packageGenerated, ValueImmutableInfo defaults, boolean strictBuilder, boolean strictModifiable, ValueMirrors.Style.ValidationMethod validationMethod, boolean allParameters, boolean defaultAsDefault, boolean headerComments, boolean jdkOnly, boolean jdk9Collections, Iterable<String> passAnnotationsNames, Iterable<String> additionalJsonAnnotationsNames, ValueMirrors.Style.ImplementationVisibility visibility, String visibilityString, boolean optionalAcceptNullable, boolean generateSuppressAllWarnings, boolean privateNoargConstructor, boolean protectedNoargConstructor, boolean attributelessSingleton, boolean unsafeDefaultAndDerived, boolean clearBuilder, boolean deferCollectionAllocation, boolean deepImmutablesDetection, boolean overshadowImplementation, boolean implementationNestedInBuilder, boolean forceJacksonPropertyNames, boolean forceJacksonIgnoreFields, boolean forceEqualsInWithers, boolean jacksonIntegration, boolean weakInterning, boolean alwaysPublicInitializers, ValueMirrors.Style.BuilderVisibility builderVisibility, String builderVisibilityString, String throwForInvalidImmutableStateName, String throwForNullPointerName, boolean depluralize, String[] depluralizeDictionary, Iterable<String> immutableCopyOfRoutinesNames, boolean stagedBuilder, boolean builtinContainerAttributes, boolean beanFriendlyModifiables, boolean allMandatoryParameters, boolean transientDerivedFields, boolean finalInstanceFields, String redactedMask, boolean attributeBuilderDetection, String[] attributeBuilder, String getBuilder, String setBuilder, String addBuilder, String addAllBuilder, String getBuilders, String nullableAnnotation, Iterable<String> allowedClasspathAnnotationsNames, String fallbackNullableAnnotationName, int limitStringLengthInToString, boolean jakarta) Construct a new immutableStyleInfoinstance.- Parameters:
get- The value for thegetattributeinit- The value for theinitattributewith- The value for thewithattributewithUnaryOperator- The value for thewithUnaryOperatorattributeadd- The value for theaddattributeaddAll- The value for theaddAllattributeput- The value for theputattributeputAll- The value for theputAllattributecopyOf- The value for thecopyOfattributeof- The value for theofattributeinstance- The value for theinstanceattributebuilder- The value for thebuilderattributenewBuilder- The value for thenewBuilderattributefrom- The value for thefromattributebuild- The value for thebuildattributebuildOrThrow- The value for thebuildOrThrowattributecanBuild- The value for thecanBuildattributetoBuilder- The value for thetoBuilderattributeunderrideHashCode- The value for theunderrideHashCodeattributeunderrideEquals- The value for theunderrideEqualsattributeunderrideToString- The value for theunderrideToStringattributedelegateToString- The value for thedelegateToStringattributeincludeHashCode- The value for theincludeHashCodeattributeisInitialized- The value for theisInitializedattributeisSet- The value for theisSetattributeset- The value for thesetattributeunset- The value for theunsetattributeclear- The value for theclearattributecreate- The value for thecreateattributetoImmutable- The value for thetoImmutableattributetypeBuilder- The value for thetypeBuilderattributetypeInnerBuilder- The value for thetypeInnerBuilderattributetypeAbstract- The value for thetypeAbstractattributetypeImmutable- The value for thetypeImmutableattributetypeImmutableEnclosing- The value for thetypeImmutableEnclosingattributetypeImmutableNested- The value for thetypeImmutableNestedattributetypeModifiable- The value for thetypeModifiableattributetypeInnerModifiable- The value for thetypeInnerModifiableattributetypeWith- The value for thetypeWithattributepackageGenerated- The value for thepackageGeneratedattributedefaults- The value for thedefaultsattributestrictBuilder- The value for thestrictBuilderattributestrictModifiable- The value for thestrictModifiableattributevalidationMethod- The value for thevalidationMethodattributeallParameters- The value for theallParametersattributedefaultAsDefault- The value for thedefaultAsDefaultattributeheaderComments- The value for theheaderCommentsattributejdkOnly- The value for thejdkOnlyattributejdk9Collections- The value for thejdk9CollectionsattributepassAnnotationsNames- The value for thepassAnnotationsNamesattributeadditionalJsonAnnotationsNames- The value for theadditionalJsonAnnotationsNamesattributevisibility- The value for thevisibilityattributevisibilityString- The value for thevisibilityStringattributeoptionalAcceptNullable- The value for theoptionalAcceptNullableattributegenerateSuppressAllWarnings- The value for thegenerateSuppressAllWarningsattributeprivateNoargConstructor- The value for theprivateNoargConstructorattributeprotectedNoargConstructor- The value for theprotectedNoargConstructorattributeattributelessSingleton- The value for theattributelessSingletonattributeunsafeDefaultAndDerived- The value for theunsafeDefaultAndDerivedattributeclearBuilder- The value for theclearBuilderattributedeferCollectionAllocation- The value for thedeferCollectionAllocationattributedeepImmutablesDetection- The value for thedeepImmutablesDetectionattributeovershadowImplementation- The value for theovershadowImplementationattributeimplementationNestedInBuilder- The value for theimplementationNestedInBuilderattributeforceJacksonPropertyNames- The value for theforceJacksonPropertyNamesattributeforceJacksonIgnoreFields- The value for theforceJacksonIgnoreFieldsattributeforceEqualsInWithers- The value for theforceEqualsInWithersattributejacksonIntegration- The value for thejacksonIntegrationattributeweakInterning- The value for theweakInterningattributealwaysPublicInitializers- The value for thealwaysPublicInitializersattributebuilderVisibility- The value for thebuilderVisibilityattributebuilderVisibilityString- The value for thebuilderVisibilityStringattributethrowForInvalidImmutableStateName- The value for thethrowForInvalidImmutableStateNameattributethrowForNullPointerName- The value for thethrowForNullPointerNameattributedepluralize- The value for thedepluralizeattributedepluralizeDictionary- The value for thedepluralizeDictionaryattributeimmutableCopyOfRoutinesNames- The value for theimmutableCopyOfRoutinesNamesattributestagedBuilder- The value for thestagedBuilderattributebuiltinContainerAttributes- The value for thebuiltinContainerAttributesattributebeanFriendlyModifiables- The value for thebeanFriendlyModifiablesattributeallMandatoryParameters- The value for theallMandatoryParametersattributetransientDerivedFields- The value for thetransientDerivedFieldsattributefinalInstanceFields- The value for thefinalInstanceFieldsattributeredactedMask- The value for theredactedMaskattributeattributeBuilderDetection- The value for theattributeBuilderDetectionattributeattributeBuilder- The value for theattributeBuilderattributegetBuilder- The value for thegetBuilderattributesetBuilder- The value for thesetBuilderattributeaddBuilder- The value for theaddBuilderattributeaddAllBuilder- The value for theaddAllBuilderattributegetBuilders- The value for thegetBuildersattributenullableAnnotation- The value for thenullableAnnotationattributeallowedClasspathAnnotationsNames- The value for theallowedClasspathAnnotationsNamesattributefallbackNullableAnnotationName- The value for thefallbackNullableAnnotationNameattributelimitStringLengthInToString- The value for thelimitStringLengthInToStringattributejakarta- The value for thejakartaattribute- Returns:
- An immutable StyleInfo instance
-
validate
-
copyOf
Creates an immutable copy of aStyleInfovalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable StyleInfo instance
-