src/share/vm/oops/method.hpp

changeset 7365
600c44255e5f
parent 7325
3c87c13918fb
child 7535
7ae4e26cb1e0
child 7635
367427923e39
     1.1 --- a/src/share/vm/oops/method.hpp	Tue Nov 18 00:56:42 2014 +0000
     1.2 +++ b/src/share/vm/oops/method.hpp	Tue Nov 11 11:05:41 2014 +0100
     1.3 @@ -619,6 +619,9 @@
     1.4    // returns true if the method is an accessor function (setter/getter).
     1.5    bool is_accessor() const;
     1.6  
     1.7 +  // returns true if the method does nothing but return a constant of primitive type
     1.8 +  bool is_constant_getter() const;
     1.9 +
    1.10    // returns true if the method is an initializer (<init> or <clinit>).
    1.11    bool is_initializer() const;
    1.12  

mercurial