public class FeatureAnnotations extends Object
Constructor and Description |
---|
FeatureAnnotations() |
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
getAnnotation(Feature feature,
Class<A> annotationType) |
static Set<Annotation> |
getAnnotations(Feature feature) |
static String[] |
getFeatureAttribute(Annotation annotation)
Checks whether the supplied annotation specifies a feature attribute.
|
static String |
getInfoLink(Feature feature) |
static String |
getLabel(Feature feature) |
static String |
getOwner(Feature feature) |
static boolean |
isAnnotationPresent(Feature feature,
Class<? extends Annotation> annotationType) |
static boolean |
isEnabledByDefault(Feature feature) |
public static boolean isEnabledByDefault(Feature feature)
public static boolean isAnnotationPresent(Feature feature, Class<? extends Annotation> annotationType)
public static Set<Annotation> getAnnotations(Feature feature)
public static <A extends Annotation> A getAnnotation(Feature feature, Class<A> annotationType)
public static String[] getFeatureAttribute(Annotation annotation)
null
if no attribute was
found.Copyright © 2020. All Rights Reserved.