predefined annotation

predefined annotations 分成两种类型的注解

  1. annotation types used by the Java Language
  2. annotation that apply to other annotations

Annotation Types Used by the Java Language

@Deprecated
@Override
@SuppressWarnings
@SafeVarargs
@FunctionalInterface

Annotations That Apply to Other Annotations

@Retention
@Documented
@Target
@Inherited
@Repeatable

你可能感兴趣的:(predefined annotation)