Skip to content

Commit

Permalink
Merge pull request #743 from cowwoc/classgraph-fix-typo
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
lukehutch committed Dec 23, 2022
2 parents 42753ef + 220451f commit 96f719a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/github/classgraph/ClassInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -1535,11 +1535,11 @@ public boolean hasFieldAnnotation(final String fieldAnnotationName) {
}

/**
* Checks whether this class declares a field of the given name.
* Checks whether this class declares a method of the given name.
*
* @param methodName
* The name of a method.
* @return true if this class declares a field of the given name.
* @return true if this class declares a method of the given name.
*/
public boolean hasDeclaredMethod(final String methodName) {
return getDeclaredMethodInfo().containsName(methodName);
Expand Down

0 comments on commit 96f719a

Please sign in to comment.