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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceRewritercreate()intgetFlags()voidrewrite(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 Detail
-
create
public static SourceRewriter create()
-
getFlags
public int getFlags()
- Specified by:
getFlagsin interfaceSourceProcessor
-
rewrite
public void rewrite(RewriteContext context)
- Specified by:
rewritein interfaceSourceRewriter
-
-