public class ClassVisitorImpl extends AbstractClassVisitorImpl
Modifier and Type | Field and Description |
---|---|
static String |
METHOD_NAME
Must be the same value as from the GenerateServiceFromMethod value
|
static String |
PARENT_CONFIGURED
Must be the same value as from the GenerateServiceFromMethod value
|
Constructor and Description |
---|
ClassVisitorImpl(Utilities utilities,
boolean verbose,
List<File> searchHeres)
Creates this with the config to add to if this is a service
|
Modifier and Type | Method and Description |
---|---|
List<DescriptorImpl> |
getGeneratedDescriptor()
Gets the generated descriptor created by this visitor
|
void |
visit(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces) |
org.glassfish.hk2.external.org.objectweb.asm.AnnotationVisitor |
visitAnnotation(String desc,
boolean visible) |
void |
visitEnd() |
org.glassfish.hk2.external.org.objectweb.asm.MethodVisitor |
visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions) |
visitAttribute, visitField, visitInnerClass, visitOuterClass, visitSource
public static final String METHOD_NAME
public static final String PARENT_CONFIGURED
public ClassVisitorImpl(Utilities utilities, boolean verbose, List<File> searchHeres)
utilities
- The utilities class to use for this visitor (preserves cache)verbose
- true if we should print out any service we are bindingsearchHere
- if we cannot classload something directly, search for it herepublic void visit(int version, int access, String name, String signature, String superName, String[] interfaces)
visit
in class AbstractClassVisitorImpl
public org.glassfish.hk2.external.org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible)
visitAnnotation
in class AbstractClassVisitorImpl
public void visitEnd()
visitEnd
in class AbstractClassVisitorImpl
public org.glassfish.hk2.external.org.objectweb.asm.MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)
visitMethod
in class AbstractClassVisitorImpl
public List<DescriptorImpl> getGeneratedDescriptor()
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.