src/java.base/share/classes/sun/reflect/annotation/AnnotationInvocationHandler.java
equal
deleted
inserted
replaced
42 */ |
42 */ |
43 class AnnotationInvocationHandler implements InvocationHandler, Serializable { |
43 class AnnotationInvocationHandler implements InvocationHandler, Serializable { |
44 @java.io.Serial |
44 @java.io.Serial |
45 private static final long serialVersionUID = 6182022883658399397L; |
45 private static final long serialVersionUID = 6182022883658399397L; |
46 private final Class<? extends Annotation> type; |
46 private final Class<? extends Annotation> type; |
|
47 @SuppressWarnings("serial") // Not statically typed as Serializable |
47 private final Map<String, Object> memberValues; |
48 private final Map<String, Object> memberValues; |
48 |
49 |
49 AnnotationInvocationHandler(Class<? extends Annotation> type, Map<String, Object> memberValues) { |
50 AnnotationInvocationHandler(Class<? extends Annotation> type, Map<String, Object> memberValues) { |
50 Class<?>[] superInterfaces = type.getInterfaces(); |
51 Class<?>[] superInterfaces = type.getInterfaces(); |
51 if (!type.isAnnotation() || |
52 if (!type.isAnnotation() || |