mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 12:02:20 +00:00
Add at-since annotations up to 2.279 (#5276)
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
This commit is contained in:
1 parent
a34a7e396e
commit
90f2d5e3dd
39 files changed
+78
-78
No files matched your search
@@ -1474,7 +1474,7 @@ public class Util {
|
||||
* @throws IllegalArgumentException When {@code derived} does not derive from {@code base}, or when {@code base}
|
||||
* does not contain the specified method.
|
||||
* @throws AbstractMethodError If the derived class doesn't override the given method.
|
||||
* @since TODO
|
||||
* @since 2.259
|
||||
*/
|
||||
public static <T> T ifOverridden(Supplier<T> supplier, @NonNull Class<?> base, @NonNull Class<?> derived, @NonNull String methodName, @NonNull Class<?>... types) {
|
||||
if (isOverridden(base, derived, methodName, types)) {
|
||||
|
||||
Reference in new issue
Block a user