Skip to content

Commit

Permalink
fix javadoc of JavaClass.Predicates#containAnyStaticInitializersThat
Browse files Browse the repository at this point in the history
Signed-off-by: Gediminas Rimša <gediminas.rimsa@gmail.com>
  • Loading branch information
grimsa authored and codecholeric committed Mar 2, 2022
1 parent 40c15c6 commit dca1d69
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2450,11 +2450,11 @@ public static DescribedPredicate<JavaClass> containAnyConstructorsThat(Described
}

/**
* A predicate to determine if a {@link JavaClass} contains one or more {@link JavaConstructor constructors} matching the supplied predicate.
* A predicate to determine if a {@link JavaClass} contains one or more {@link JavaStaticInitializer static initializers} matching the supplied predicate.
*
* @param predicate The predicate to check against the {@link JavaClass classes'} constructors.
* @param predicate The predicate to check against the {@link JavaClass classes'} static initializers.
* @return A {@link DescribedPredicate} returning true, if and only if the tested {@link JavaClass} contains at least
* one constructor matching the given predicate.
* one static initializer matching the given predicate.
*/
@PublicAPI(usage = ACCESS)
public static DescribedPredicate<JavaClass> containAnyStaticInitializersThat(DescribedPredicate<? super JavaStaticInitializer> predicate) {
Expand Down

0 comments on commit dca1d69

Please sign in to comment.