Modifier and Type | Class and Description |
---|---|
public static enum | VisibilityBridgeStrategy.Default
Default implementations of visibility bridge strategies. |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: true if a visibility bridge should be generated.The method that would require a visibility bridge. methodDescription)Determines if a visibility bridge should be generated for a method that is eligable. |
generateVisibilityBridge | back to summary |
---|---|
public boolean generateVisibilityBridge(MethodDescription methodDescription) Determines if a visibility bridge should be generated for a method that is eligable.
|
Modifier and Type | Field and Description |
---|---|
public static final VisibilityBridgeStrategy. | ALWAYS
Always generates a visibility bridge. |
public static final VisibilityBridgeStrategy. | NEVER
Never generates a visibility bridge. |
public static final VisibilityBridgeStrategy. | ON_NON_GENERIC_METHOD
Only generates visibility bridges for non-generified methods what was the behavior of javac until Java 11. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public static VisibilityBridgeStrategy. | |
public static VisibilityBridgeStrategy. |
ALWAYS | back to summary |
---|---|
public static final VisibilityBridgeStrategy. Always generates a visibility bridge. |
NEVER | back to summary |
---|---|
public static final VisibilityBridgeStrategy. Never generates a visibility bridge. |
ON_NON_GENERIC_METHOD | back to summary |
---|---|
public static final VisibilityBridgeStrategy. Only generates visibility bridges for non-generified methods what was the behavior of javac until Java 11. |
Default | back to summary |
---|---|
private Default() |
valueOf | back to summary |
---|---|
public static VisibilityBridgeStrategy. |
values | back to summary |
---|---|
public static VisibilityBridgeStrategy. |