org.apache.felix.scrplugin.annotations
Class FieldAnnotation
java.lang.Object
org.apache.felix.scrplugin.annotations.ScannedAnnotation
org.apache.felix.scrplugin.annotations.FieldAnnotation
public class FieldAnnotation
- extends ScannedAnnotation
A field annotation
Constructor Summary |
FieldAnnotation(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> values,
java.lang.reflect.Field f)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FieldAnnotation
public FieldAnnotation(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> values,
java.lang.reflect.Field f)
- Constructor.
getAnnotatedField
public java.lang.reflect.Field getAnnotatedField()
- Get the annotated field.
getAnnotatedFieldValue
public java.lang.Object getAnnotatedFieldValue()
throws SCRDescriptorFailureException
- Get the initial value of the value if this is a static field.
- Throws:
SCRDescriptorFailureException
toString
public java.lang.String toString()
- Overrides:
toString
in class ScannedAnnotation
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.