FELIX-375 implemented interfaces of base classes from the class path are not recognized

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@577662 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/cl/ClassLoaderJavaClassDescription.java b/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/cl/ClassLoaderJavaClassDescription.java
index 794befe..68a6715 100644
--- a/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/cl/ClassLoaderJavaClassDescription.java
+++ b/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/cl/ClassLoaderJavaClassDescription.java
@@ -59,9 +59,17 @@
         return null;
     }
 
-    public JavaClassDescription[] getImplementedInterfaces() {
-        // TODO Auto-generated method stub
-        return null;
+    public JavaClassDescription[] getImplementedInterfaces() throws MojoExecutionException {
+        Class[] implemented = clazz.getInterfaces();
+        if (implemented == null || implemented.length == 0) {
+            return null;
+        }
+        
+        JavaClassDescription[] jcd = new JavaClassDescription[implemented.length];
+        for (int i=0; i < jcd.length; i++) {
+            jcd[i] = manager.getJavaClassDescription(implemented[i].getName());
+        }
+        return jcd;
     }
 
     /**