|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2022 the original author or authors. |
|
|
|
|
* Copyright 2002-2020 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
|
@ -92,7 +92,6 @@ abstract class AnnotationsScanner {
@@ -92,7 +92,6 @@ abstract class AnnotationsScanner {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Nullable |
|
|
|
|
@SuppressWarnings("deprecation") |
|
|
|
|
private static <C, R> R processClass(C context, Class<?> source, |
|
|
|
|
SearchStrategy searchStrategy, AnnotationsProcessor<C, R> processor) { |
|
|
|
|
|
|
|
|
|
@ -230,7 +229,6 @@ abstract class AnnotationsScanner {
@@ -230,7 +229,6 @@ abstract class AnnotationsScanner {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Nullable |
|
|
|
|
@SuppressWarnings("deprecation") |
|
|
|
|
private static <C, R> R processMethod(C context, Method source, |
|
|
|
|
SearchStrategy searchStrategy, AnnotationsProcessor<C, R> processor) { |
|
|
|
|
|
|
|
|
|
@ -501,7 +499,6 @@ abstract class AnnotationsScanner {
@@ -501,7 +499,6 @@ abstract class AnnotationsScanner {
|
|
|
|
|
return (type.getName().startsWith("java.") || type == Ordered.class); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@SuppressWarnings("deprecation") |
|
|
|
|
private static boolean isWithoutHierarchy(AnnotatedElement source, SearchStrategy searchStrategy) { |
|
|
|
|
if (source == Object.class) { |
|
|
|
|
return true; |
|
|
|
|
|