For example, this meta-annotation indicates that the declared type is itself a meta-annotation type.
例如,这个元注释表明被定义的类型是本身的元注释类型。只能被用在定义的注释类型上。
You can use four predefined annotation types — referred to as meta-annotations — to annotate your annotations.
您可以使用4种预定义的注释类型(称为元注释)对您的注释进行注释。
However, an even simpler approach is to create an annotation for these task objects and provide the @Component meta-annotation.
然而,更简单的方法是为这些任务对象创建一个注解并提供@Component元注解。
应用推荐