Java: отражение (во время выполнения) по сравнению с зеркалированием (при обработке аннотаций)

I understand the general differences between the concepts of

  • reflection (done at runtime using Class, Method, Field, Annotation, ...), and
  • mirroring (done during annotation processing using TypeMirror, TypeElement, ...).

But can someone please compare the two concepts in-depth (or point me to a resource, where it is done)?

For instance, which concept offers what kinds of information that the other does not offer...

Thank you.

7
задан java.is.for.desktop 16 December 2010 в 20:15
поделиться