Package org.apache.felix.scr.impl.inject
Class Annotations
- java.lang.Object
-
- org.apache.felix.scr.impl.inject.Annotations
-
public class Annotations extends Object
-
-
Constructor Summary
Constructors Constructor Description Annotations()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetPrefix(Class<?> clazz)static booleanisSingleElementAnnotation(Class<?> clazz)Check whether the provided type is a single element annotation.static <T> TtoObject(Class<T> clazz, Map<String,Object> props, org.osgi.framework.Bundle b, boolean supportsInterfaces)
-
-
-
Method Detail
-
isSingleElementAnnotation
public static boolean isSingleElementAnnotation(Class<?> clazz)
Check whether the provided type is a single element annotation. A single element annotation has a method named "value" and all other annotation methods must have a default value.- Parameters:
clazz- The provided type- Returns:
trueif the type is a single element annotation.
-
-