public enum AnnotationTarget extends Enum<AnnotationTarget>
| Enum Constant and Description |
|---|
AnnotationType |
API |
DocumentationItem |
Example |
Extension |
Library |
Method |
Overlay |
RequestBody |
Resource |
ResourceType |
Response |
ResponseBody |
SecurityScheme |
SecuritySchemeSettings |
Trait |
TypeDeclaration |
| Modifier and Type | Method and Description |
|---|---|
static AnnotationTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationTarget API
public static final AnnotationTarget DocumentationItem
public static final AnnotationTarget Resource
public static final AnnotationTarget Method
public static final AnnotationTarget Response
public static final AnnotationTarget RequestBody
public static final AnnotationTarget ResponseBody
public static final AnnotationTarget TypeDeclaration
public static final AnnotationTarget Example
public static final AnnotationTarget ResourceType
public static final AnnotationTarget Trait
public static final AnnotationTarget SecurityScheme
public static final AnnotationTarget SecuritySchemeSettings
public static final AnnotationTarget AnnotationType
public static final AnnotationTarget Library
public static final AnnotationTarget Overlay
public static final AnnotationTarget Extension
public static AnnotationTarget[] values()
for (AnnotationTarget c : AnnotationTarget.values()) System.out.println(c);
public static AnnotationTarget 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 nullCopyright © 2020. All rights reserved.