public final class Annotation extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Annotation.Attribute
Define an attribute of an annotation.
|
static class |
Annotation.Builder
Builder for creating an
Annotation . |
Modifier and Type | Method and Description |
---|---|
List<Annotation.Attribute> |
getAttributes() |
String |
getName() |
static Annotation |
name(String name) |
static Annotation |
name(String name,
Consumer<Annotation.Builder> annotation) |
public String getName()
public List<Annotation.Attribute> getAttributes()
public static Annotation name(String name)
public static Annotation name(String name, Consumer<Annotation.Builder> annotation)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.