groovy / 4.0 / groovy / transform / immutableproperties.html

[Groovy] Annotation Type ImmutableProperties

  • groovy.transform.ImmutableProperties
All Implemented Interfaces and Traits:
Annotation
@ImmutableOptions
@PropertyOptions(propertyHandler: ImmutablePropertyHandler)
@AnnotationCollector(mode: AnnotationCollectorMode.PREFER_EXPLICIT_MERGED)
@Retention(value: RetentionPolicy.SOURCE)
@Target(value: [ElementType.TYPE])
@interface ImmutableProperties

Meta annotation used when just the immutable properties part of @Immutable is desired.

See Also:
Immutable
Since:
4.0.0

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class Object wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/groovy/transform/ImmutableProperties.html