像这样做:
public @interface CustomAnnot { String[] author() default "me"; String description() default "";}和您的注释:
@CustomAnnot(author={"author1","author2"}, description="test")
像这样做:
public @interface CustomAnnot { String[] author() default "me"; String description() default "";}和您的注释:
@CustomAnnot(author={"author1","author2"}, description="test")