Class Annotations
java.lang.Object
org.apache.felix.scr.impl.inject.internal.Annotations
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classprivate static final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static ObjectcoerceToArray(Class<?> componentType, Object raw, org.osgi.framework.Bundle bundle) extractSubMaps(Collection<String> keys, Map<String, Object> map) static Stringstatic booleanisSingleElementAnnotation(Class<?> clazz) Check whether the provided type is a single element annotation.(package private) static StringmapIdentifierToKey(String name) (package private) static StringmapTypeNameToKey(String name) static <T> TtoObject(Class<T> clazz, Map<String, Object> props, org.osgi.framework.Bundle b, boolean supportsInterfaces)
-
Field Details
-
ANNOTATION_METHODS
-
VALUE_METHOD
-
PREFIX_CONSTANT
-
p
-
-
Constructor Details
-
Annotations
public Annotations()
-
-
Method Details
-
isSingleElementAnnotation
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.
-
getPrefix
-
toObject
-
extractSubMaps
-
coerceToArray
-
mapIdentifierToKey
-
mapTypeNameToKey
-