8140650: Method::is_accessor should cover getters and setters for all types

Reviewed-by: vlivanov, coleenp, sgehwolf
This commit is contained in:
Aleksey Shipilev 2015-11-11 01:27:36 +03:00
parent 6ed8c23581
commit ac09d8a135
8 changed files with 196 additions and 6 deletions

View file

@ -311,6 +311,8 @@ class ciMethod : public ciMetadata {
bool is_final_method() const { return is_final() || holder()->is_final(); }
bool has_loops () const;
bool has_jsrs () const;
bool is_getter () const;
bool is_setter () const;
bool is_accessor () const;
bool is_initializer () const;
bool can_be_statically_bound() const { return _can_be_statically_bound; }