protected static class MethodRegistry.Default.Compiled.Entry extends TypeWriter.MethodPool.Entry.Simple implements MethodMatcher
TypeWriter.MethodPool.Entry.Factory, TypeWriter.MethodPool.Entry.Simple, TypeWriter.MethodPool.Entry.Skip| Modifier | Constructor and Description |
|---|---|
protected |
Entry(MethodMatcher methodMatcher,
ByteCodeAppender byteCodeAppender,
MethodAttributeAppender attributeAppender)
Creates an entry of a compiled default method registry.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
matches(MethodDescription methodDescription)
Determines if a method matches for this
MethodMatcher. |
String |
toString() |
apply, getAttributeAppender, getByteCodeAppender, isDefineMethodprotected Entry(MethodMatcher methodMatcher, ByteCodeAppender byteCodeAppender, MethodAttributeAppender attributeAppender)
methodMatcher - The method matcher to be wrapped by this instance.byteCodeAppender - The byte code appender that represents this compiled entry.attributeAppender - The method attribute appender that represents this compiled entry.public boolean matches(MethodDescription methodDescription)
MethodMatcherMethodMatcher.matches in interface MethodMatchermethodDescription - The method description to be matched.true if the matcher is matching this method.public boolean equals(Object other)
equals in class TypeWriter.MethodPool.Entry.Simplepublic int hashCode()
hashCode in class TypeWriter.MethodPool.Entry.Simplepublic String toString()
toString in class TypeWriter.MethodPool.Entry.SimpleCopyright © 2014. All rights reserved.