src/share/vm/ci/ciMethod.hpp

Print this page




 294   bool is_method() const                         { return true; }
 295 
 296   // Java access flags
 297   bool is_public      () const                   { return flags().is_public(); }
 298   bool is_private     () const                   { return flags().is_private(); }
 299   bool is_protected   () const                   { return flags().is_protected(); }
 300   bool is_static      () const                   { return flags().is_static(); }
 301   bool is_final       () const                   { return flags().is_final(); }
 302   bool is_synchronized() const                   { return flags().is_synchronized(); }
 303   bool is_native      () const                   { return flags().is_native(); }
 304   bool is_interface   () const                   { return flags().is_interface(); }
 305   bool is_abstract    () const                   { return flags().is_abstract(); }
 306   bool is_strict      () const                   { return flags().is_strict(); }
 307 
 308   // Other flags
 309   bool is_empty_method() const;
 310   bool is_vanilla_constructor() const;
 311   bool is_final_method() const                   { return is_final() || holder()->is_final(); }
 312   bool has_loops      () const;
 313   bool has_jsrs       () const;


 314   bool is_accessor    () const;
 315   bool is_initializer () const;
 316   bool can_be_statically_bound() const           { return _can_be_statically_bound; }
 317   bool is_boxing_method() const;
 318   bool is_unboxing_method() const;
 319 
 320   // Replay data methods
 321   void dump_name_as_ascii(outputStream* st);
 322   void dump_replay_data(outputStream* st);
 323 
 324   // Print the bytecodes of this method.
 325   void print_codes_on(outputStream* st);
 326   void print_codes() {
 327     print_codes_on(tty);
 328   }
 329   void print_codes_on(int from, int to, outputStream* st);
 330 
 331   // Print the name of this method in various incarnations.
 332   void print_name(outputStream* st = tty);
 333   void print_short_name(outputStream* st = tty);


 294   bool is_method() const                         { return true; }
 295 
 296   // Java access flags
 297   bool is_public      () const                   { return flags().is_public(); }
 298   bool is_private     () const                   { return flags().is_private(); }
 299   bool is_protected   () const                   { return flags().is_protected(); }
 300   bool is_static      () const                   { return flags().is_static(); }
 301   bool is_final       () const                   { return flags().is_final(); }
 302   bool is_synchronized() const                   { return flags().is_synchronized(); }
 303   bool is_native      () const                   { return flags().is_native(); }
 304   bool is_interface   () const                   { return flags().is_interface(); }
 305   bool is_abstract    () const                   { return flags().is_abstract(); }
 306   bool is_strict      () const                   { return flags().is_strict(); }
 307 
 308   // Other flags
 309   bool is_empty_method() const;
 310   bool is_vanilla_constructor() const;
 311   bool is_final_method() const                   { return is_final() || holder()->is_final(); }
 312   bool has_loops      () const;
 313   bool has_jsrs       () const;
 314   bool is_getter      () const;
 315   bool is_setter      () const;
 316   bool is_accessor    () const;
 317   bool is_initializer () const;
 318   bool can_be_statically_bound() const           { return _can_be_statically_bound; }
 319   bool is_boxing_method() const;
 320   bool is_unboxing_method() const;
 321 
 322   // Replay data methods
 323   void dump_name_as_ascii(outputStream* st);
 324   void dump_replay_data(outputStream* st);
 325 
 326   // Print the bytecodes of this method.
 327   void print_codes_on(outputStream* st);
 328   void print_codes() {
 329     print_codes_on(tty);
 330   }
 331   void print_codes_on(int from, int to, outputStream* st);
 332 
 333   // Print the name of this method in various incarnations.
 334   void print_name(outputStream* st = tty);
 335   void print_short_name(outputStream* st = tty);