< prev index next >

src/java.base/share/classes/sun/reflect/annotation/AnnotationSupport.java

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.  Oracle designates this
--- 1,7 ---
  /*
!  * Copyright (c) 2012, 2026, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.  Oracle designates this

*** 265,15 ***
                                        "repeating annotations of type: %s",
                                        container, annoClass));
              }
          }
      }
- 
-     /**
-      * Gets an unmodifiable view of {@code a}'s elements.
-      *
-      * @return a map from element names to element values
-      */
-     public static Map<String, Object> memberValues(Annotation a) {
-         return ((AnnotationInvocationHandler) Proxy.getInvocationHandler(a)).memberValues();
-     }
  }
--- 265,6 ---
< prev index next >