equal
deleted
inserted
replaced
293 return annotationForMap(annotationClass, memberValues); |
293 return annotationForMap(annotationClass, memberValues); |
294 } |
294 } |
295 |
295 |
296 /** |
296 /** |
297 * Returns an annotation of the given type backed by the given |
297 * Returns an annotation of the given type backed by the given |
298 * member -> value map. |
298 * member {@literal ->} value map. |
299 */ |
299 */ |
300 public static Annotation annotationForMap(final Class<? extends Annotation> type, |
300 public static Annotation annotationForMap(final Class<? extends Annotation> type, |
301 final Map<String, Object> memberValues) |
301 final Map<String, Object> memberValues) |
302 { |
302 { |
303 return AccessController.doPrivileged(new PrivilegedAction<Annotation>() { |
303 return AccessController.doPrivileged(new PrivilegedAction<Annotation>() { |