本文整理匯總了Java中edu.umd.cs.findbugs.ba.heap.LoadDataflow類的典型用法代碼示例。如果您正苦於以下問題:Java LoadDataflow類的具體用法?Java LoadDataflow怎麽用?Java LoadDataflow使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
LoadDataflow類屬於edu.umd.cs.findbugs.ba.heap包,在下文中一共展示了LoadDataflow類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: analyze
import edu.umd.cs.findbugs.ba.heap.LoadDataflow; //導入依賴的package包/類
public LoadDataflow analyze(IAnalysisCache analysisCache, MethodDescriptor descriptor) throws CheckedAnalysisException {
MethodGen methodGen = getMethodGen(analysisCache, descriptor);
if (methodGen == null)
return null;
LoadAnalysis analysis = new LoadAnalysis(getDepthFirstSearch(analysisCache, descriptor), getConstantPoolGen(
analysisCache, descriptor.getClassDescriptor()));
LoadDataflow dataflow = new LoadDataflow(getCFG(analysisCache, descriptor), analysis);
dataflow.execute();
return dataflow;
}
示例2: LoadDataflowFactory
import edu.umd.cs.findbugs.ba.heap.LoadDataflow; //導入依賴的package包/類
/**
* Constructor.
*/
public LoadDataflowFactory() {
super("field load analysis", LoadDataflow.class);
}
示例3: getLoadDataflow
import edu.umd.cs.findbugs.ba.heap.LoadDataflow; //導入依賴的package包/類
/**
* Get load dataflow.
*
* @param method
* the method
* @return the LoadDataflow
* @throws CFGBuilderException
* @throws DataflowAnalysisException
*/
public LoadDataflow getLoadDataflow(Method method) throws CFGBuilderException, DataflowAnalysisException {
return getMethodAnalysis(LoadDataflow.class, method);
}
示例4: getLoadDataflow
import edu.umd.cs.findbugs.ba.heap.LoadDataflow; //導入依賴的package包/類
/**
* Get load dataflow.
*
* @param method
* the method
* @return the LoadDataflow
* @throws CFGBuilderException
* @throws DataflowAnalysisException
*/
public LoadDataflow getLoadDataflow(Method method) throws CFGBuilderException, DataflowAnalysisException {
return getMethodAnalysis(LoadDataflow.class, method);
}