@HashCodeAndEqualsPlugin.Enhance protected static class MethodRegistry.Default.Compiled.Entry extends Object
Modifier | Constructor and Description |
---|---|
protected |
Entry(MethodRegistry.Handler.Compiled handler,
MethodAttributeAppender attributeAppender,
MethodDescription methodDescription,
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.
|
protected Entry(MethodRegistry.Handler.Compiled handler, MethodAttributeAppender attributeAppender, MethodDescription methodDescription, 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.Copyright © 2014–2020. All rights reserved.