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 String
private boolean
private final ServiceLocator
private static final String
private final boolean
Fields 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
public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) - Overrides:
visit
in classorg.objectweb.asm.ClassVisitor
-
visitAnnotation
- Overrides:
visitAnnotation
in classorg.objectweb.asm.ClassVisitor
-
visitEnd
public void visitEnd()- Overrides:
visitEnd
in classorg.objectweb.asm.ClassVisitor
-