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 java.lang.Object implements MatchResultCollector
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TryResourcesMatchResultCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
void
collectMatches(java.lang.String name, WildcardMatch wcm)
void
collectStatement(java.lang.String name, StructuredStatement statement)
private StaticFunctionInvokation
getFn(WildcardMatch wcm, java.lang.String name)
-
-
-
Field Detail
-
fn
StaticFunctionInvokation fn
-
resource
LValue resource
-
throwable
LValue throwable
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clear
in interfaceMatchResultCollector
-
collectStatement
public void collectStatement(java.lang.String name, StructuredStatement statement)
- Specified by:
collectStatement
in interfaceMatchResultCollector
-
getFn
private StaticFunctionInvokation getFn(WildcardMatch wcm, java.lang.String name)
-
collectMatches
public void collectMatches(java.lang.String name, WildcardMatch wcm)
- Specified by:
collectMatches
in interfaceMatchResultCollector
-
-