src/share/vm/oops/method.hpp

changeset 4393
35431a769282
parent 4303
5505fbbae3d3
child 4394
4daebd4cc1dd
     1.1 --- a/src/share/vm/oops/method.hpp	Wed Dec 19 10:35:08 2012 -0800
     1.2 +++ b/src/share/vm/oops/method.hpp	Thu Dec 20 10:22:19 2012 +0100
     1.3 @@ -228,6 +228,13 @@
     1.4      }
     1.5      return ik->annotations()->get_method_default_annotations_of(method_idnum());
     1.6    }
     1.7 +  AnnotationArray* type_annotations() const {
     1.8 +  InstanceKlass* ik = method_holder();
     1.9 +  Annotations* type_annos = ik->type_annotations();
    1.10 +  if (type_annos == NULL)
    1.11 +    return NULL;
    1.12 +  return type_annos->get_method_annotations_of(method_idnum());
    1.13 +}
    1.14  
    1.15  #ifdef CC_INTERP
    1.16    void set_result_index(BasicType type);
    1.17 @@ -794,6 +801,7 @@
    1.18                             Array<AnnotationArray*>* methods_annotations,
    1.19                             Array<AnnotationArray*>* methods_parameter_annotations,
    1.20                             Array<AnnotationArray*>* methods_default_annotations,
    1.21 +                           Array<AnnotationArray*>* methods_type_annotations,
    1.22                             bool idempotent = false);
    1.23  
    1.24    // size of parameters

mercurial