equal
deleted
inserted
replaced
495 bool is_accessor() const; |
495 bool is_accessor() const; |
496 |
496 |
497 // returns true if the method is an initializer (<init> or <clinit>). |
497 // returns true if the method is an initializer (<init> or <clinit>). |
498 bool is_initializer() const; |
498 bool is_initializer() const; |
499 |
499 |
|
500 // returns true if the method is static OR if the classfile version < 51 |
|
501 bool has_valid_initializer_flags() const; |
|
502 |
|
503 // returns true if the method name is <clinit> and the method has |
|
504 // valid static initializer flags. |
|
505 bool is_static_initializer() const; |
|
506 |
500 // compiled code support |
507 // compiled code support |
501 // NOTE: code() is inherently racy as deopt can be clearing code |
508 // NOTE: code() is inherently racy as deopt can be clearing code |
502 // simultaneously. Use with caution. |
509 // simultaneously. Use with caution. |
503 bool has_compiled_code() const { return code() != NULL; } |
510 bool has_compiled_code() const { return code() != NULL; } |
504 |
511 |