Class TryResourcesTransformerBase.TryResourcesMatchResultCollector
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.transformers.TryResourcesTransformerBase.TryResourcesMatchResultCollector
- All Implemented Interfaces:
MatchResultCollector
- Enclosing class:
TryResourcesTransformerBase
protected static class TryResourcesTransformerBase.TryResourcesMatchResultCollector
extends Object
implements MatchResultCollector
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidcollectMatches(String name, WildcardMatch wcm) voidcollectStatement(String name, StructuredStatement statement) private StaticFunctionInvokationgetFn(WildcardMatch wcm, String name)
-
Field Details
-
Constructor Details
-
TryResourcesMatchResultCollector
protected TryResourcesMatchResultCollector()
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMatchResultCollector
-
collectStatement
- Specified by:
collectStatementin interfaceMatchResultCollector
-
getFn
-
collectMatches
- Specified by:
collectMatchesin interfaceMatchResultCollector
-