[jboss-cvs] JBossAS SVN: r95281 - projects/mc-ann/trunk/core/src/main/java/org/jboss/mcann/repository.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Oct 21 08:10:07 EDT 2009
Author: alesj
Date: 2009-10-21 08:10:07 -0400 (Wed, 21 Oct 2009)
New Revision: 95281
Modified:
projects/mc-ann/trunk/core/src/main/java/org/jboss/mcann/repository/AbstractElement.java
Log:
Add toString.
Modified: projects/mc-ann/trunk/core/src/main/java/org/jboss/mcann/repository/AbstractElement.java
===================================================================
--- projects/mc-ann/trunk/core/src/main/java/org/jboss/mcann/repository/AbstractElement.java 2009-10-21 11:59:09 UTC (rev 95280)
+++ projects/mc-ann/trunk/core/src/main/java/org/jboss/mcann/repository/AbstractElement.java 2009-10-21 12:10:07 UTC (rev 95281)
@@ -21,12 +21,12 @@
*/
package org.jboss.mcann.repository;
-import org.jboss.mcann.Element;
-
import java.lang.annotation.Annotation;
import java.lang.ref.SoftReference;
import java.lang.reflect.AnnotatedElement;
+import org.jboss.mcann.Element;
+
/**
* Abstract annotations element.
*
@@ -120,4 +120,10 @@
return true;
}
+
+ @Override
+ public String toString()
+ {
+ return className + "@" + annClass.getName();
+ }
}
More information about the jboss-cvs-commits
mailing list