Class ClassVisitorImpl
java.lang.Object
org.objectweb.asm.ClassVisitor
org.jvnet.hk2.testing.junit.internal.ClassVisitorImpl
- Direct Known Subclasses:
ServiceLocatorTestRule.Visitor
public class ClassVisitorImpl
extends org.objectweb.asm.ClassVisitor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate booleanprivate final ServiceLocatorprivate static final Stringprivate final booleanFields inherited from class org.objectweb.asm.ClassVisitor
api, cv -
Constructor Summary
ConstructorsConstructorDescriptionClassVisitorImpl(ServiceLocator locator, boolean verbose, Set<String> excludes) Creates this with the config to add to if this is a service -
Method Summary
Methods inherited from class org.objectweb.asm.ClassVisitor
getDelegate, visitAttribute, visitField, visitInnerClass, visitMethod, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
-
Field Details
-
SERVICE_CLASS_FORM
- See Also:
-
locator
-
verbose
private final boolean verbose -
implName
-
isAService
private boolean isAService -
excludes
-
-
Constructor Details
-
ClassVisitorImpl
Creates this with the config to add to if this is a service- Parameters:
locator-verbose- true if we should print out any service we are bindingexcludes- The set of implementations to NOT add to the locator
-
-
Method Details
-
visit
-
visitAnnotation
- Overrides:
visitAnnotationin classorg.objectweb.asm.ClassVisitor
-
visitEnd
public void visitEnd()- Overrides:
visitEndin classorg.objectweb.asm.ClassVisitor
-