Class AnnotatedElementKey
- java.lang.Object
- org.springframework.context.expression.AnnotatedElementKey
- All Implemented Interfaces:
Comparable<AnnotatedElementKey>
public final class AnnotatedElementKey extends Object implements Comparable<AnnotatedElementKey>
Represent anAnnotatedElementon a particularClassand is suitable as a key.- Since:
- 4.2
- Author:
- Costin Leau, Stephane Nicoll
- See Also:
CachedExpressionEvaluator
Constructor Summary
Constructors Constructor Description AnnotatedElementKey(AnnotatedElement element, Class<?> targetClass)Create a new instance with the specifiedAnnotatedElementand optional targetClass.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(AnnotatedElementKey other)booleanequals(Object other)inthashCode()StringtoString()
Constructor Detail
AnnotatedElementKey
public AnnotatedElementKey(AnnotatedElement element, Class<?> targetClass)
Create a new instance with the specifiedAnnotatedElementand optional targetClass.
Method Detail
compareTo
public int compareTo(AnnotatedElementKey other)
- Specified by:
compareToin interfaceComparable<AnnotatedElementKey>