2012-02-05 9 views

答えて

1

はい、その可能:

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

public @interface OuterAnnotation { 
    InnerAnnotation value() default @InnerAnnotation(value = "Goodbye"); 
} 
関連する問題