Skip to content

Commit

Permalink
fix javadoc for return type of ResolvedJavaType.hasFinalizableSubclass
Browse files Browse the repository at this point in the history
  • Loading branch information
dougxc committed Mar 11, 2024
1 parent 63dd6d1 commit 0df2978
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ public interface ResolvedJavaType extends JavaType, ModifiersProvider, Annotated
boolean hasFinalizer();

/**
* Checks whether this type has any finalizable subclasses so far. Any decisions based on this
* information require the registration of a dependency, since this information may change.
* Checks whether this type might have finalizable subclasses. Any decisions based on a
* negative answer require the registration of a dependency, since this information may change.
* For example, dynamic class loading can later load a finalizable subclass.
*
* @return {@code true} if this class has any subclasses with finalizers
* @return an {@link AssumptionResult} specifying if this class may have any subclasses with
* finalizers along with any assumptions under which this answer holds
*/
AssumptionResult<Boolean> hasFinalizableSubclass();

Expand Down

0 comments on commit 0df2978

Please sign in to comment.