public interface CrossAnalysisHandler
TypeAnalyzer
.
Users may register cross-analysis handlers (and other kinds of supported
handlers) to the TypeAnalyzer
used to analyze Java source code.
When the analyzer detects more cross-analyzed types, it calls back those
cross-analysis.
Cross-analyzed types are the other types to be refactored at the same time. Special care is taken about those types because their instances are monitored by checkpoint objects. It is not possible to know all the cross-analyzed types at the beginning of the refactoring. It is then necessary to fix the refactoring result whenever more cross-analyzed types are found as the type analysis goes on.
Modifier and Type | Method and Description |
---|---|
void |
handle(TypeAnalyzerState state)
Handle new cross-analyzed types recorded in the state of the type
analyzer.
|
void handle(TypeAnalyzerState state)
state
- The current state of the type analyzer.TypeAnalyzerState.getCrossAnalyzedTypes()