changeset 27643 | fe8f95a2d9bc |
parent 27478 | 0eedae0228ac |
child 29316 | 5287df8a8972 |
--- a/hotspot/src/share/vm/oops/method.hpp Mon Nov 10 19:04:38 2014 +0300 +++ b/hotspot/src/share/vm/oops/method.hpp Tue Nov 11 11:05:41 2014 +0100 @@ -595,6 +595,9 @@ // returns true if the method is an accessor function (setter/getter). bool is_accessor() const; + // returns true if the method does nothing but return a constant of primitive type + bool is_constant_getter() const; + // returns true if the method is an initializer (<init> or <clinit>). bool is_initializer() const;