409 // initializes the klass |
409 // initializes the klass |
410 virtual void initialize(TRAPS); |
410 virtual void initialize(TRAPS); |
411 // lookup operation for MethodLookupCache |
411 // lookup operation for MethodLookupCache |
412 friend class MethodLookupCache; |
412 friend class MethodLookupCache; |
413 virtual Klass* find_field(Symbol* name, Symbol* signature, fieldDescriptor* fd) const; |
413 virtual Klass* find_field(Symbol* name, Symbol* signature, fieldDescriptor* fd) const; |
414 virtual Method* uncached_lookup_method(Symbol* name, Symbol* signature, OverpassLookupMode overpass_mode) const; |
414 virtual Method* uncached_lookup_method(const Symbol* name, const Symbol* signature, OverpassLookupMode overpass_mode) const; |
415 public: |
415 public: |
416 Method* lookup_method(Symbol* name, Symbol* signature) const { |
416 Method* lookup_method(const Symbol* name, const Symbol* signature) const { |
417 return uncached_lookup_method(name, signature, find_overpass); |
417 return uncached_lookup_method(name, signature, find_overpass); |
418 } |
418 } |
419 |
419 |
420 // array class with specific rank |
420 // array class with specific rank |
421 Klass* array_klass(int rank, TRAPS) { return array_klass_impl(false, rank, THREAD); } |
421 Klass* array_klass(int rank, TRAPS) { return array_klass_impl(false, rank, THREAD); } |