Class EditClassOccurenceAnalysis
java.lang.Object
org.variantsync.diffdetective.analysis.EditClassOccurenceAnalysis
- All Implemented Interfaces:
Analysis.Hooks
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AnalysisStrategyprivate Writerstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleananalyzeVariationDiff(Analysis analysis) The main hook for analyzing non-empty diff trees.voidbeginBatch(Analysis analysis) booleanbeginCommit(Analysis analysis) voidvoidvoidinitializeResults(Analysis analysis) Initialization hook forAnalysis.getResult().Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.variantsync.diffdetective.analysis.Analysis.Hooks
beginPatch, endPatch, onFailedCommit, onFailedParse, onParsedCommit
-
Field Details
-
PATCH_STATISTICS_EXTENSION
- See Also:
-
exportStrategy
-
output
-
-
Constructor Details
-
EditClassOccurenceAnalysis
-
-
Method Details
-
initializeResults
Description copied from interface:Analysis.HooksInitialization hook forAnalysis.getResult(). All result types should be appended with a neutral value usingAnalysis.append(org.variantsync.diffdetective.analysis.AnalysisResult.ResultKey<T>, T). No other side effects should be performed during this methods as it might be called an arbitrary amount of times.- Specified by:
initializeResultsin interfaceAnalysis.Hooks
-
beginBatch
- Specified by:
beginBatchin interfaceAnalysis.Hooks
-
beginCommit
- Specified by:
beginCommitin interfaceAnalysis.Hooks
-
analyzeVariationDiff
Description copied from interface:Analysis.HooksThe main hook for analyzing non-empty diff trees. Called at most once during the patch phase.- Specified by:
analyzeVariationDiffin interfaceAnalysis.Hooks- Throws:
IOException
-
endCommit
- Specified by:
endCommitin interfaceAnalysis.Hooks- Throws:
IOException
-
endBatch
- Specified by:
endBatchin interfaceAnalysis.Hooks- Throws:
IOException
-