public class Annotations extends Object
| Constructor and Description |
|---|
Annotations() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getPrefix(Class<?> clazz) |
static boolean |
isSingleElementAnnotation(Class<?> clazz)
Check whether the provided type is a single element annotation.
|
static <T> T |
toObject(Class<T> clazz,
Map<String,Object> props,
org.osgi.framework.Bundle b,
boolean supportsInterfaces) |
public static boolean isSingleElementAnnotation(Class<?> clazz)
clazz - The provided typetrue if the type is a single element annotation.Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.