groovy.lang
@Documented @Retention(value=SOURCE) @Target(value=TYPE) public @interface Singleton
@Singleton(lazy=true)
Lazy singletons implemented with double check locking and volatile fieldModifier and Type | Optional Element and Description |
---|---|
boolean |
lazy |