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