Package org.cadixdev.mercury.extra
Class BridgeMethodRewriter
java.lang.Object
org.cadixdev.mercury.extra.BridgeMethodRewriter
- All Implemented Interfaces:
SourceProcessor
,SourceRewriter
public final class BridgeMethodRewriter extends java.lang.Object implements SourceRewriter
Removes redundant synthetic bridge methods that cause compile errors.
-
Field Summary
Fields inherited from interface org.cadixdev.mercury.SourceProcessor
FLAG_RESOLVE_BINDINGS
-
Method Summary
Modifier and Type Method Description static SourceRewriter
create()
int
getFlags()
void
rewrite(RewriteContext context)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.cadixdev.mercury.SourceProcessor
finish, initialize
Methods inherited from interface org.cadixdev.mercury.SourceRewriter
process
-
Method Details
-
create
-
getFlags
public int getFlags()- Specified by:
getFlags
in interfaceSourceProcessor
-
rewrite
- Specified by:
rewrite
in interfaceSourceRewriter
-