private AnalysisResults() { this.nodesProcessed = new HashMap<CGNode, ICostResult>(); this.reportEntries = new ArrayList<ReportEntry>(); this.reportData = new ReportData(); this.worstCaseStackTraceNextNodeInStackByNode = new HashMap<CGNode, CGNode>(); this.analysisSpecification = AnalysisSpecification.getAnalysisSpecification(); }
private Analyzer() { this.specification = AnalysisSpecification.getAnalysisSpecification(); this.stackAnalyzer = new StackAnalyzer(specification.getJvmModel()); }