public class GraphBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BASIC_BLOCK |
static int |
COMPUTE_DEF_USE |
static int |
DEFAULT |
static int |
EXCEPTION_FLOW |
static int |
NORMAL_FLOW |
static int |
REMOVE_LOCAL_USES |
static int |
REMOVE_UNUSED_DEFS |
| Constructor and Description |
|---|
GraphBuilder(String className,
org.objectweb.asm.tree.MethodNode methodNode) |
GraphBuilder(String className,
org.objectweb.asm.tree.MethodNode methodNode,
int type)
Creates a graph builder based on a class
|
public static final int NORMAL_FLOW
public static final int EXCEPTION_FLOW
public static final int BASIC_BLOCK
public static final int COMPUTE_DEF_USE
public static final int REMOVE_LOCAL_USES
public static final int REMOVE_UNUSED_DEFS
public static final int DEFAULT
public GraphBuilder(String className, org.objectweb.asm.tree.MethodNode methodNode, int type)
className - the name of the classmethodNode - the method for which the graph must be createdpublic GraphBuilder(String className, org.objectweb.asm.tree.MethodNode methodNode)
public ProgramGraph buildDefUseGraph() throws CouldNotBuildGraphException
CouldNotBuildGraphException - when the graph cannot be builtCopyright © 2014. All rights reserved.