Skip to content

Commit

Permalink
Deprecate withSignature
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 595809096
  • Loading branch information
cushon authored and Error Prone Team committed Jan 4, 2024
1 parent d7de122 commit 34141a8
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,14 @@ public interface MethodClassMatcher extends MethodMatcher {
MethodNameMatcher withNameMatching(Pattern pattern);

/**
* Match methods with the given signature. The implementation uses javac internals to
* pretty-print the signatures, and the signature format is not well-specified. This matcher
* should be used with caution.
* Match methods with the given signature.
*
* <p>Example: {@code format(java.lang.String,java.lang.Object...)}
*
* @deprecated The implementation uses javac internals to pretty-print the signatures, and the
* signature format is not well-specified.
*/
@Deprecated
MethodSignatureMatcher withSignature(String signature);
}

Expand Down

0 comments on commit 34141a8

Please sign in to comment.