hotspot/src/share/vm/oops/method.hpp
changeset 27643 fe8f95a2d9bc
parent 27478 0eedae0228ac
child 29316 5287df8a8972
equal deleted inserted replaced
27642:8c9eff693145 27643:fe8f95a2d9bc
   593   void set_guaranteed_monitor_matching()         { _access_flags.set_monitor_matching(); }
   593   void set_guaranteed_monitor_matching()         { _access_flags.set_monitor_matching(); }
   594 
   594 
   595   // returns true if the method is an accessor function (setter/getter).
   595   // returns true if the method is an accessor function (setter/getter).
   596   bool is_accessor() const;
   596   bool is_accessor() const;
   597 
   597 
       
   598   // returns true if the method does nothing but return a constant of primitive type
       
   599   bool is_constant_getter() const;
       
   600 
   598   // returns true if the method is an initializer (<init> or <clinit>).
   601   // returns true if the method is an initializer (<init> or <clinit>).
   599   bool is_initializer() const;
   602   bool is_initializer() const;
   600 
   603 
   601   // returns true if the method is static OR if the classfile version < 51
   604   // returns true if the method is static OR if the classfile version < 51
   602   bool has_valid_initializer_flags() const;
   605   bool has_valid_initializer_flags() const;