Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
java
java
AnnotationReader.setBytecodeProvidersetDefaultBytecodeProvider(new BytecodeProviderImpl());

If no bytecode provider is registered then a default one that uses getResourceAsStream(), e.g. reads in the bytecode from disk, is used.

It is also possible to set a bytecode provider on a per class basis, which can be usefull in some circumstances.
Refer to the API documentation for more details.

Refreshing the annotation reader

...