Package org.apache.felix.ipojo.manipulator.util

Examples of org.apache.felix.ipojo.manipulator.util.ChainedAnnotationVisitor


        if (visitors.size() == 1) {
            return visitors.get(0);
        }

        ChainedAnnotationVisitor chained = new ChainedAnnotationVisitor();
        chained.getVisitors().addAll(visitors);
        return chained;
    }
View Full Code Here


    public List<AnnotationDiscovery> getDiscoveries() {
        return m_discoveries;
    }

    public AnnotationVisitor visitAnnotation(final String desc) {
        ChainedAnnotationVisitor chain = null;
        for (AnnotationDiscovery discovery : m_discoveries) {
            AnnotationVisitor visitor = discovery.visitAnnotation(desc);
            if (visitor != null) {
                if (chain == null) {
                    chain = new ChainedAnnotationVisitor();
                }
                chain.getVisitors().add(visitor);
            }
        }
        return chain;
    }
View Full Code Here

TOP

Related Classes of org.apache.felix.ipojo.manipulator.util.ChainedAnnotationVisitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.