mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 12:02:20 +00:00
[JENKINS-62723] Extend JavaDoc with @throws
This commit is contained in:
1 parent
9c088c27f2
commit
7c2abcfa94
1 file changed
+2
@@ -1440,6 +1440,8 @@ public class Util {
|
||||
* @param methodName The name of the method.
|
||||
* @param types The types of the arguments for the method.
|
||||
* @return {@code true} when {@code derived} provides the specified method other than as inherited from {@code base}.
|
||||
* @throws IllegalArgumentException When {@code derived} does not derive from {@code base}, or when {@code base}
|
||||
* does not contain the specified method.
|
||||
*/
|
||||
public static boolean isOverridden(@NonNull Class<?> base, @NonNull Class<?> derived, @NonNull String methodName, @NonNull Class<?>... types) {
|
||||
// If derived is not a subclass or implementor of base, it can't override any method
|
||||
|
||||
Reference in new issue
Block a user