@HashCodeAndEqualsPlugin.Enhance protected static class MethodRegistry.Default.Compiled.Entry extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private MethodAttributeAppender |
attributeAppender
The attribute appender of a compiled method.
|
private boolean |
bridgeMethod
true if this entry represents a bridge method. |
private java.util.Set<MethodDescription.TypeToken> |
bridgeTypes
The type tokens representing all bridge methods for the method.
|
private MethodRegistry.Handler.Compiled |
handler
The handler to be used for implementing a method.
|
private MethodDescription |
methodDescription
The method to be implemented including potential transformations.
|
private Visibility |
visibility
The represented method's minimum visibility.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Entry(MethodRegistry.Handler.Compiled handler,
MethodAttributeAppender attributeAppender,
MethodDescription methodDescription,
java.util.Set<MethodDescription.TypeToken> bridgeTypes,
Visibility visibility,
boolean bridgeMethod)
Creates a new entry for a compiled method registry.
|
| Modifier and Type | Method and Description |
|---|---|
protected TypeWriter.MethodPool.Record |
bind(TypeDescription instrumentedType,
boolean supportsBridges)
Transforms this entry into a method record.
|
private final MethodRegistry.Handler.Compiled handler
private final MethodAttributeAppender attributeAppender
private final MethodDescription methodDescription
private final java.util.Set<MethodDescription.TypeToken> bridgeTypes
private final Visibility visibility
private final boolean bridgeMethod
true if this entry represents a bridge method.protected Entry(MethodRegistry.Handler.Compiled handler, MethodAttributeAppender attributeAppender, MethodDescription methodDescription, java.util.Set<MethodDescription.TypeToken> bridgeTypes, Visibility visibility, boolean bridgeMethod)
handler - The handler to be used for implementing a method.attributeAppender - The attribute appender of a compiled method.methodDescription - The method to be implemented including potential transformations.bridgeTypes - The type tokens representing all bridge methods for the method.visibility - The represented method's minimum visibility.bridgeMethod - true if this entry represents a bridge method.protected TypeWriter.MethodPool.Record bind(TypeDescription instrumentedType, boolean supportsBridges)
instrumentedType - The instrumented type to bind.supportsBridges - true if the record should support bridge methods.