equal
deleted
inserted
replaced
622 |
622 |
623 bool Method::can_be_statically_bound() const { |
623 bool Method::can_be_statically_bound() const { |
624 return can_be_statically_bound(method_holder()->access_flags()); |
624 return can_be_statically_bound(method_holder()->access_flags()); |
625 } |
625 } |
626 |
626 |
|
627 bool Method::can_be_statically_bound(InstanceKlass* context) const { |
|
628 return (method_holder() == context) && can_be_statically_bound(); |
|
629 } |
|
630 |
627 bool Method::is_accessor() const { |
631 bool Method::is_accessor() const { |
628 return is_getter() || is_setter(); |
632 return is_getter() || is_setter(); |
629 } |
633 } |
630 |
634 |
631 bool Method::is_getter() const { |
635 bool Method::is_getter() const { |