Skip to content

Commit

Permalink
Merge pull request #38496 from zakkak/2024-01-31-register-for-reflect…
Browse files Browse the repository at this point in the history
…ion-doc

Reduce ambiguity around RegisterForReflection's defaults
  • Loading branch information
zakkak committed Jan 31, 2024
2 parents f59ac53 + b25bb6a commit 668284e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
import java.lang.annotation.Target;

/**
* Annotation that can be used to force a class to be registered for reflection in native image mode
* Annotation that can be used to force a class to be registered for reflection in native image mode.
* Note that by default nested classes and interfaces are not registered, unless {@link #ignoreNested()} is set to false.
* Similarly, by default only the class itself is registered, not the full class hierarchy. This can be changed by setting
* {@link #registerFullHierarchy()} to true.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
Expand Down

0 comments on commit 668284e

Please sign in to comment.