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, isDefineMethod
protected 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)
MethodMatcher
MethodMatcher
.matches
in interface MethodMatcher
methodDescription
- 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.Simple
public int hashCode()
hashCode
in class TypeWriter.MethodPool.Entry.Simple
public String toString()
toString
in class TypeWriter.MethodPool.Entry.Simple
Copyright © 2014. All rights reserved.