282 bool is_private () const { return flags().is_private(); } 283 bool is_protected () const { return flags().is_protected(); } 284 bool is_static () const { return flags().is_static(); } 285 bool is_final () const { return flags().is_final(); } 286 bool is_synchronized() const { return flags().is_synchronized(); } 287 bool is_native () const { return flags().is_native(); } 288 bool is_interface () const { return flags().is_interface(); } 289 bool is_abstract () const { return flags().is_abstract(); } 290 bool is_strict () const { return flags().is_strict(); } 291 292 // Other flags 293 bool is_empty_method() const; 294 bool is_vanilla_constructor() const; 295 bool is_final_method() const { return is_final() || holder()->is_final(); } 296 bool has_loops () const; 297 bool has_jsrs () const; 298 bool is_accessor () const; 299 bool is_initializer () const; 300 bool can_be_statically_bound() const { return _can_be_statically_bound; } 301 void dump_replay_data(outputStream* st); 302 303 // Print the bytecodes of this method. 304 void print_codes_on(outputStream* st); 305 void print_codes() { 306 print_codes_on(tty); 307 } 308 void print_codes_on(int from, int to, outputStream* st); 309 310 // Print the name of this method in various incarnations. 311 void print_name(outputStream* st = tty); 312 void print_short_name(outputStream* st = tty); 313 }; 314 315 #endif // SHARE_VM_CI_CIMETHOD_HPP | 282 bool is_private () const { return flags().is_private(); } 283 bool is_protected () const { return flags().is_protected(); } 284 bool is_static () const { return flags().is_static(); } 285 bool is_final () const { return flags().is_final(); } 286 bool is_synchronized() const { return flags().is_synchronized(); } 287 bool is_native () const { return flags().is_native(); } 288 bool is_interface () const { return flags().is_interface(); } 289 bool is_abstract () const { return flags().is_abstract(); } 290 bool is_strict () const { return flags().is_strict(); } 291 292 // Other flags 293 bool is_empty_method() const; 294 bool is_vanilla_constructor() const; 295 bool is_final_method() const { return is_final() || holder()->is_final(); } 296 bool has_loops () const; 297 bool has_jsrs () const; 298 bool is_accessor () const; 299 bool is_initializer () const; 300 bool can_be_statically_bound() const { return _can_be_statically_bound; } 301 void dump_replay_data(outputStream* st); 302 bool is_boxing_method() const; 303 bool is_unboxing_method() const; 304 305 // Print the bytecodes of this method. 306 void print_codes_on(outputStream* st); 307 void print_codes() { 308 print_codes_on(tty); 309 } 310 void print_codes_on(int from, int to, outputStream* st); 311 312 // Print the name of this method in various incarnations. 313 void print_name(outputStream* st = tty); 314 void print_short_name(outputStream* st = tty); 315 }; 316 317 #endif // SHARE_VM_CI_CIMETHOD_HPP |