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 SourceRewritercreate()intgetFlags()voidrewrite(RewriteContext context)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cadixdev.mercury.SourceProcessor
finish, initializeMethods inherited from interface org.cadixdev.mercury.SourceRewriter
process
-
Method Details
-
create
-
getFlags
public int getFlags()- Specified by:
getFlagsin interfaceSourceProcessor
-
rewrite
- Specified by:
rewritein interfaceSourceRewriter
-