public enum AnnotationUseContext extends Enum<AnnotationUseContext>
UseWith
.Enum Constant and Description |
---|
BEAN
Annotation may be used on/in arbitrary java beans.
|
COMPONENT
Annotation may be used on/in component classes
|
MIXIN
Annotation may be used on/in mixins
|
MODULE
Annotation may be used on modules
|
PAGE
Annotation may be used on/in page classes
|
SERVICE
Annotation may be used on/in services
|
SERVICE_DECORATOR
Annotation may be used for service decorators
|
Modifier and Type | Method and Description |
---|---|
static AnnotationUseContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationUseContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationUseContext COMPONENT
public static final AnnotationUseContext MIXIN
public static final AnnotationUseContext MODULE
public static final AnnotationUseContext PAGE
public static final AnnotationUseContext SERVICE
public static final AnnotationUseContext SERVICE_DECORATOR
public static final AnnotationUseContext BEAN
public static AnnotationUseContext[] values()
for (AnnotationUseContext c : AnnotationUseContext.values()) System.out.println(c);
public static AnnotationUseContext valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.