class BridgeMethodResolver
extends java.lang.Object
For interface bridges, using invokesuper will fail since the method being bridged to is in a superinterface, not a superclass. Starting in Java 8, javac emits default bridge methods in interfaces, which use invokeinterface to bridge to the target method.
| Modifier and Type | Class and Description |
|---|---|
private static class |
BridgeMethodResolver.BridgedFinder |
| Modifier and Type | Field and Description |
|---|---|
private java.lang.ClassLoader |
classLoader |
private java.util.Map |
declToBridge |
| Constructor and Description |
|---|
BridgeMethodResolver(java.util.Map declToBridge,
java.lang.ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
resolveAll()
Finds all bridge methods that are being called with invokespecial &
returns them.
|