[jboss-cvs] JBossAS SVN: r95129 - projects/annotations/branches/AnnEnv/core/src/main/java/org/jboss/papaki/repository/plugins/reflection.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Oct 19 12:28:22 EDT 2009
Author: alesj
Date: 2009-10-19 12:28:22 -0400 (Mon, 19 Oct 2009)
New Revision: 95129
Modified:
projects/annotations/branches/AnnEnv/core/src/main/java/org/jboss/papaki/repository/plugins/reflection/ReflectionClassAdapter.java
Log:
Add missing impl.
Modified: projects/annotations/branches/AnnEnv/core/src/main/java/org/jboss/papaki/repository/plugins/reflection/ReflectionClassAdapter.java
===================================================================
--- projects/annotations/branches/AnnEnv/core/src/main/java/org/jboss/papaki/repository/plugins/reflection/ReflectionClassAdapter.java 2009-10-19 16:26:05 UTC (rev 95128)
+++ projects/annotations/branches/AnnEnv/core/src/main/java/org/jboss/papaki/repository/plugins/reflection/ReflectionClassAdapter.java 2009-10-19 16:28:22 UTC (rev 95129)
@@ -92,7 +92,11 @@
public ClassAdapter[] getInterfaces() throws Exception
{
- return new ClassAdapter[0]; //To change body of implemented methods use File | Settings | File Templates.
+ Class[] ifaces = clazz.getInterfaces();
+ ClassAdapter[] adapters = new ClassAdapter[ifaces.length];
+ for (int i = 0; i < ifaces.length; i++)
+ adapters[i] = new ReflectionClassAdapter(ifaces[i]);
+ return adapters;
}
public void detach()
More information about the jboss-cvs-commits
mailing list