commit | 7ce4b0e46ec2a8b78f15e847318f915f71566dee | [log] [tgz] |
---|---|---|
author | Göktürk Gezer <gokturk@apache.org> | Mon Feb 04 18:41:30 2013 +0000 |
committer | Göktürk Gezer <gokturk@apache.org> | Mon Feb 04 18:41:30 2013 +0000 |
tree | cd12447c424e7a0a3a3c16edcf5d6210a22428c2 | |
parent | 652fad758a835ca3fb0b0fd38f50731332291881 [diff] |
Fix for FELIX-3889. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1442296 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulator/metadata/annotation/ClassMetadataCollector.java b/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulator/metadata/annotation/ClassMetadataCollector.java index 6b7904c..f129ef9 100644 --- a/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulator/metadata/annotation/ClassMetadataCollector.java +++ b/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulator/metadata/annotation/ClassMetadataCollector.java
@@ -97,6 +97,15 @@ */ public AnnotationVisitor visitAnnotation(String desc, boolean visible) { + /* + * Visible annotations are mostly destined to be read by reflection + * at runtime. We retain runtime visible annotations on component + * as they are and left them out in meta-data calculation. + */ + if(visible){ + return null; + } + // Return the visitor to be executed (may be null) return registry.selection(workbench) .type(node)