Class ScopeHidingVariableRewriter
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.ScopeHidingVariableRewriter
- All Implemented Interfaces:
Op04Rewriter
We may have deep inner classes, with references to each other.
So
this.Inner2.this.Inner1.this
But this is illegal. So remove the outer one, leaving
this.Inner1.this (the LHS this is still illegal, but will be removed later).
-
Constructor Summary
ConstructorsConstructorDescriptionScopeHidingVariableRewriter(List<ClassFileField> fieldVariables, Method method, ClassCache classCache) -
Method Summary
-
Constructor Details
-
ScopeHidingVariableRewriter
public ScopeHidingVariableRewriter(List<ClassFileField> fieldVariables, Method method, ClassCache classCache)
-
-
Method Details
-
rewrite
- Specified by:
rewritein interfaceOp04Rewriter
-