public final class AnnotatedElementKey extends java.lang.Object implements java.lang.Comparable<AnnotatedElementKey>
AnnotatedElement
on a particular Class
and is suitable as a key.CachedExpressionEvaluator
Constructor and Description |
---|
AnnotatedElementKey(java.lang.reflect.AnnotatedElement element,
java.lang.Class<?> targetClass)
Create a new instance with the specified
AnnotatedElement and
optional target Class . |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AnnotatedElementKey other) |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
java.lang.String |
toString() |
public AnnotatedElementKey(java.lang.reflect.AnnotatedElement element, java.lang.Class<?> targetClass)
AnnotatedElement
and
optional target Class
.public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(AnnotatedElementKey other)
compareTo
in interface java.lang.Comparable<AnnotatedElementKey>