org.apache.felix.ipojo.manipulator.metadata.annotation.registry
Class Selection

java.lang.Object
  extended by org.apache.felix.ipojo.manipulator.metadata.annotation.registry.Selection
All Implemented Interfaces:
java.lang.Iterable<org.objectweb.asm.AnnotationVisitor>

public class Selection
extends java.lang.Object
implements java.lang.Iterable<org.objectweb.asm.AnnotationVisitor>

A Selection is used to select a subset of all supported AnnotationVisitor. It's a query DSL.

Author:
Felix Project Team

Constructor Summary
Selection(BindingRegistry registry, ComponentWorkbench workbench, Reporter reporter)
           
 
Method Summary
 Selection annotatedWith(java.lang.String desc)
           
 Selection field(org.objectweb.asm.FieldVisitor visitor, org.objectweb.asm.tree.FieldNode node)
           
 org.objectweb.asm.AnnotationVisitor get()
           
 java.util.Iterator<org.objectweb.asm.AnnotationVisitor> iterator()
           
 Selection method(org.objectweb.asm.MethodVisitor visitor, org.objectweb.asm.tree.MethodNode node)
           
 Selection parameter(org.objectweb.asm.MethodVisitor visitor, org.objectweb.asm.tree.MethodNode node, int index)
           
 Selection type(org.objectweb.asm.ClassVisitor visitor, org.objectweb.asm.tree.ClassNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Selection

public Selection(BindingRegistry registry,
                 ComponentWorkbench workbench,
                 Reporter reporter)
Method Detail

field

public Selection field(org.objectweb.asm.FieldVisitor visitor,
                       org.objectweb.asm.tree.FieldNode node)

method

public Selection method(org.objectweb.asm.MethodVisitor visitor,
                        org.objectweb.asm.tree.MethodNode node)

type

public Selection type(org.objectweb.asm.ClassVisitor visitor,
                      org.objectweb.asm.tree.ClassNode node)

parameter

public Selection parameter(org.objectweb.asm.MethodVisitor visitor,
                           org.objectweb.asm.tree.MethodNode node,
                           int index)

annotatedWith

public Selection annotatedWith(java.lang.String desc)

get

public org.objectweb.asm.AnnotationVisitor get()

iterator

public java.util.Iterator<org.objectweb.asm.AnnotationVisitor> iterator()
Specified by:
iterator in interface java.lang.Iterable<org.objectweb.asm.AnnotationVisitor>


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.