hotspot/src/share/vm/oops/method.hpp
changeset 15097 9db149412e0e
parent 14587 e9f641f0d3a9
child 15098 3ed1d0332785
--- a/hotspot/src/share/vm/oops/method.hpp	Wed Dec 19 10:35:08 2012 -0800
+++ b/hotspot/src/share/vm/oops/method.hpp	Thu Dec 20 10:22:19 2012 +0100
@@ -228,6 +228,13 @@
     }
     return ik->annotations()->get_method_default_annotations_of(method_idnum());
   }
+  AnnotationArray* type_annotations() const {
+  InstanceKlass* ik = method_holder();
+  Annotations* type_annos = ik->type_annotations();
+  if (type_annos == NULL)
+    return NULL;
+  return type_annos->get_method_annotations_of(method_idnum());
+}
 
 #ifdef CC_INTERP
   void set_result_index(BasicType type);
@@ -794,6 +801,7 @@
                            Array<AnnotationArray*>* methods_annotations,
                            Array<AnnotationArray*>* methods_parameter_annotations,
                            Array<AnnotationArray*>* methods_default_annotations,
+                           Array<AnnotationArray*>* methods_type_annotations,
                            bool idempotent = false);
 
   // size of parameters