use of org.apache.felix.ipojo.manipulator.util.ChainedAnnotationVisitor in project felix by apache.
the class Selection method get.
public AnnotationVisitor get() {
List<AnnotationVisitor> visitors = list();
if (visitors.isEmpty()) {
return null;
}
if (visitors.size() == 1) {
return visitors.get(0);
}
ChainedAnnotationVisitor chained = new ChainedAnnotationVisitor();
chained.getVisitors().addAll(visitors);
return chained;
}
Aggregations