Package com.helger.commons.annotation
Annotation Type Singleton
-
@Retention(SOURCE) @Target(TYPE) @Documented public @interface Singleton
Just to indicate that a class is a singleton and therefore only a single instance of the class exists. Usually singletons have a staticgetInstance()method.- Author:
- Philip Helger
-
-
Element Detail
-
value
String value
- Default:
- ""
-
-