public class CFGMethodAdapter
extends org.objectweb.asm.MethodVisitor
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
EXCLUDE
A list of Strings representing method signatures.
|
static Map<ClassLoader,Map<String,Set<String>>> |
methods
The set of all methods which can be used during test case generation This
excludes e.g.
|
| Constructor and Description |
|---|
CFGMethodAdapter(ClassLoader classLoader,
String className,
int access,
String name,
String desc,
String signature,
String[] exceptions,
org.objectweb.asm.MethodVisitor mv)
Constructor for CFGMethodAdapter.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getMethods() |
static Set<String> |
getMethods(ClassLoader classLoader)
Returns a set with all unique methodNames of methods.
|
static Set<String> |
getMethods(ClassLoader classLoader,
String className)
Returns a set with all unique methodNames of methods.
|
Set<String> |
getMethods(String className) |
static Set<String> |
getMethodsPrefix(ClassLoader classLoader,
String className)
Returns a set with all unique methodNames of methods.
|
Set<String> |
getMethodsPrefix(String className) |
int |
getNumMethods() |
static int |
getNumMethods(ClassLoader classLoader)
Returns a set with all unique methodNames of methods.
|
static int |
getNumMethodsMemberClasses(ClassLoader classLoader,
String className)
Returns a set with all unique methodNames of methods.
|
int |
getNumMethodsMemberClasses(String className) |
static int |
getNumMethodsPrefix(ClassLoader classLoader,
String className)
Returns a set with all unique methodNames of methods.
|
int |
getNumMethodsPrefix(String className) |
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(String desc,
boolean visible) |
void |
visitEnd() |
void |
visitLineNumber(int line,
org.objectweb.asm.Label start) |
void |
visitMaxs(int maxStack,
int maxLocals) |
visitAnnotationDefault, visitAttribute, visitCode, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsnpublic static final List<String> EXCLUDE
public void visitLineNumber(int line,
org.objectweb.asm.Label start)
visitLineNumber in class org.objectweb.asm.MethodVisitorpublic org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible)
visitAnnotation in class org.objectweb.asm.MethodVisitorpublic void visitEnd()
visitEnd in class org.objectweb.asm.MethodVisitorpublic void visitMaxs(int maxStack,
int maxLocals)
visitMaxs in class org.objectweb.asm.MethodVisitorpublic static Set<String> getMethods(ClassLoader classLoader, String className)
className - a String object.public static Set<String> getMethods(ClassLoader classLoader)
public static Set<String> getMethodsPrefix(ClassLoader classLoader, String className)
className - a String object.public int getNumMethodsPrefix(String className)
public static int getNumMethodsPrefix(ClassLoader classLoader, String className)
className - a String object.public int getNumMethods()
public static int getNumMethods(ClassLoader classLoader)
public int getNumMethodsMemberClasses(String className)
public static int getNumMethodsMemberClasses(ClassLoader classLoader, String className)
className - a String object.Copyright © 2010–2017 EvoSuite. All rights reserved.