692 |
692 |
693 friend class ClassFileParser; |
693 friend class ClassFileParser; |
694 friend class SystemDictionary; |
694 friend class SystemDictionary; |
695 |
695 |
696 // Used by compiler to prevent classloading. |
696 // Used by compiler to prevent classloading. |
697 static Method* method_at_if_loaded (constantPoolHandle this_oop, int which); |
697 static Method* method_at_if_loaded (constantPoolHandle this_oop, int which); |
698 static bool has_appendix_at_if_loaded (constantPoolHandle this_oop, int which); |
698 static bool has_appendix_at_if_loaded (constantPoolHandle this_oop, int which); |
699 static oop appendix_at_if_loaded (constantPoolHandle this_oop, int which); |
699 static oop appendix_at_if_loaded (constantPoolHandle this_oop, int which); |
700 static Klass* klass_at_if_loaded (constantPoolHandle this_oop, int which); |
700 static bool has_method_type_at_if_loaded (constantPoolHandle this_oop, int which); |
701 static Klass* klass_ref_at_if_loaded (constantPoolHandle this_oop, int which); |
701 static oop method_type_at_if_loaded (constantPoolHandle this_oop, int which); |
|
702 static Klass* klass_at_if_loaded (constantPoolHandle this_oop, int which); |
|
703 static Klass* klass_ref_at_if_loaded (constantPoolHandle this_oop, int which); |
702 // Same as above - but does LinkResolving. |
704 // Same as above - but does LinkResolving. |
703 static Klass* klass_ref_at_if_loaded_check(constantPoolHandle this_oop, int which, TRAPS); |
705 static Klass* klass_ref_at_if_loaded_check(constantPoolHandle this_oop, int which, TRAPS); |
704 |
706 |
705 // Routines currently used for annotations (only called by jvm.cpp) but which might be used in the |
707 // Routines currently used for annotations (only called by jvm.cpp) but which might be used in the |
706 // future by other Java code. These take constant pool indices rather than |
708 // future by other Java code. These take constant pool indices rather than |
707 // constant pool cache indices as do the peer methods above. |
709 // constant pool cache indices as do the peer methods above. |
708 Symbol* uncached_klass_ref_at_noresolve(int which); |
710 Symbol* uncached_klass_ref_at_noresolve(int which); |