2012-02-05 68 views

回答

1

是的,它可能:

public @interface InnerAnnotation { 
    String value() default "hello"; 
} 

public @interface OuterAnnotation { 
    InnerAnnotation value() default @InnerAnnotation(value = "Goodbye"); 
}