jdk/src/java.base/share/classes/sun/reflect/annotation/AnnotationParser.java
changeset 31061 fead7d86d75f
parent 28056 0cab6eb92852
child 37363 329dba26ffd2
equal deleted inserted replaced
31060:be4eb6360ee0 31061:fead7d86d75f
   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>() {