protected static class MethodRegistry.Default.Prepared.Entry extends Object
Modifier | Constructor and Description |
---|---|
protected |
Entry(MethodRegistry.Handler handler,
MethodAttributeAppender.Factory attributeAppenderFactory,
MethodDescription methodDescription,
Set<MethodDescription.TypeToken> typeTokens)
Creates a new prepared entry.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
protected static MethodRegistry.Default.Prepared.Entry |
forVisibilityBridge(MethodDescription bridgeTarget)
Creates an entry for a visibility bridge.
|
protected MethodAttributeAppender.Factory |
getAppenderFactory()
Returns this entry's attribute appender factory.
|
protected MethodRegistry.Handler |
getHandler()
Returns this entry's handler.
|
protected MethodDescription |
getMethodDescription()
Returns the method description this entry represents.
|
int |
hashCode() |
protected Set<MethodDescription.TypeToken> |
resolveBridgeTypes()
Resolves the type tokens of all bridge methods that are required to be implemented for this entry.
|
String |
toString() |
protected Entry(MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, MethodDescription methodDescription, Set<MethodDescription.TypeToken> typeTokens)
handler
- The handler for implementing methods.attributeAppenderFactory
- A attribute appender factory for appending attributes for any implemented method.methodDescription
- The method this entry represents.typeTokens
- A set of bridges representing the bridge methods of this method.protected static MethodRegistry.Default.Prepared.Entry forVisibilityBridge(MethodDescription bridgeTarget)
bridgeTarget
- The bridge method's target.protected MethodRegistry.Handler getHandler()
protected MethodAttributeAppender.Factory getAppenderFactory()
protected MethodDescription getMethodDescription()
protected Set<MethodDescription.TypeToken> resolveBridgeTypes()
Copyright © 2014–2016. All rights reserved.