changeset 15097 | 9db149412e0e |
parent 14816 | f2935b95cb54 |
child 15099 | b31d40895bbb |
--- a/hotspot/src/share/vm/oops/instanceKlass.hpp Wed Dec 19 10:35:08 2012 -0800 +++ b/hotspot/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);