Annotation Type Target


  • @Target({FIELD,METHOD})
    @Retention(RUNTIME)
    public @interface Target
    Define an explicit target, avoiding reflection and generics resolving.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class value
      The target entity type.
    • Element Detail

      • value

        java.lang.Class value
        The target entity type.