edu.umd.cs.findbugs.ba
Class CFGBuilderFactory
public
class
CFGBuilderFactory
extends Object
Factory object to create CFGBuilders for methods.
Using a CFGBuilderFactory is preferable to direct instantiation of
CFGBuilders, because it gives us an easy hook for plugging in
new CFGBuilder implementations. (CFGs for Java are a little tricky
to get right.)
Author: David Hovemeyer
See Also: CFG CFGBuilder
public static
CFGBuilder create(MethodGen methodGen)
Create a CFGBuilder to build a CFG for given method.
Parameters: methodGen the method
Returns: a CFGBuilder for the method
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.