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,
File searchHere)
Creates this with the config to add to if this is a service
|
| Modifier and Type | Method and Description |
|---|---|
LinkedList<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.objectweb.asm.AnnotationVisitor |
visitAnnotation(String desc,
boolean visible) |
void |
visitEnd() |
org.objectweb.asm.MethodVisitor |
visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions) |
visitAttribute, visitField, visitInnerClass, visitOuterClass, visitSourcepublic static final String METHOD_NAME
public static final String PARENT_CONFIGURED
public ClassVisitorImpl(Utilities utilities, boolean verbose, File searchHere)
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 interface org.objectweb.asm.ClassVisitorvisit in class AbstractClassVisitorImplpublic org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible)
visitAnnotation in interface org.objectweb.asm.ClassVisitorvisitAnnotation in class AbstractClassVisitorImplpublic void visitEnd()
visitEnd in interface org.objectweb.asm.ClassVisitorvisitEnd in class AbstractClassVisitorImplpublic org.objectweb.asm.MethodVisitor visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions)
visitMethod in interface org.objectweb.asm.ClassVisitorvisitMethod in class AbstractClassVisitorImplpublic LinkedList<DescriptorImpl> getGeneratedDescriptor()
Copyright © 2014 Oracle Corporation. All rights reserved.