diff src/share/vm/oops/instanceKlass.hpp @ 7457:35431a769282

8004823: Add VM support for type annotation reflection Reviewed-by: dholmes, coleenp Contributed-by: joel.franck@oracle.com
author stefank
date Thu, 20 Dec 2012 10:22:19 +0100
parents 30866cd626b0
children cc6a617fffd2
line wrap: on
line diff
--- a/src/share/vm/oops/instanceKlass.hpp	Wed Dec 19 10:35:08 2012 -0800
+++ b/src/share/vm/oops/instanceKlass.hpp	Thu Dec 20 10:22:19 2012 +0100
@@ -657,6 +657,10 @@
     if (annotations() == NULL) return NULL;
     return annotations()->fields_annotations();
   }
+  Annotations* type_annotations() const {
+    if (annotations() == NULL) return NULL;
+    return annotations()->type_annotations();
+  }
 
   // allocation
   instanceOop allocate_instance(TRAPS);