diff options
Diffstat (limited to 'runtime/art_method.h')
-rw-r--r-- | runtime/art_method.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/art_method.h b/runtime/art_method.h index 912df85815..d292630de9 100644 --- a/runtime/art_method.h +++ b/runtime/art_method.h @@ -131,12 +131,12 @@ class ArtMethod FINAL { return (GetAccessFlags() & kAccStatic) != 0; } - // Returns true if the method is a constructor. + // Returns true if the method is a constructor according to access flags. bool IsConstructor() { return (GetAccessFlags() & kAccConstructor) != 0; } - // Returns true if the method is a class initializer. + // Returns true if the method is a class initializer according to access flags. bool IsClassInitializer() { return IsConstructor() && IsStatic(); } |