diff -r dbdc6907b55d -r b0b7187852b7 hotspot/src/share/vm/oops/method.hpp --- a/hotspot/src/share/vm/oops/method.hpp Tue Nov 10 21:36:35 2015 -0800 +++ b/hotspot/src/share/vm/oops/method.hpp Wed Nov 11 01:27:36 2015 +0300 @@ -595,6 +595,12 @@ // returns true if the method is an accessor function (setter/getter). bool is_accessor() const; + // returns true if the method is a getter + bool is_getter() const; + + // returns true if the method is a setter + bool is_setter() const; + // returns true if the method does nothing but return a constant of primitive type bool is_constant_getter() const;