HI, When I am going through the @AliasFor annotation in spring, they have introduced the topic "declare aliases for annotation attributes" ? Can some one explain me what is aliases for attributed?
Below the is code:
@Retention(RetentionPolicy.RUNTIME)
@Target({java.lang.annotation.ElementType.METHOD})
@Documented
public @interface AliasFor
{
@AliasFor("attribute")
String value() default "";
@AliasFor("value")
String attribute() default "";
Class<? extends Annotation> annotation() default Annotation.class;
}