FELIX-3550 : Reimplement the SCR Generator

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1356266 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java b/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java
index 9283327..44e6239 100644
--- a/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java
+++ b/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java
@@ -441,10 +441,10 @@
             }
 
             // options
-            final ClassAnnotation[] options = (ClassAnnotation[])ad.getValue("options");
+            final ScannedAnnotation[] options = (ScannedAnnotation[])ad.getValue("options");
             if (options != null) {
                 final List<String> propertyOptions = new ArrayList<String>();
-                for(final ClassAnnotation po : options) {
+                for(final ScannedAnnotation po : options) {
                     propertyOptions.add(po.getStringValue("name", ""));
                     propertyOptions.add(po.getStringValue("value", ""));
                 }