Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/fieldDescriptor.hpp @ 7457:35431a769282
8004823: Add VM support for type annotation reflection
Reviewed-by: dholmes, coleenp
Contributed-by: joel.franck@oracle.com
author | stefank |
---|---|
date | Thu, 20 Dec 2012 10:22:19 +0100 |
parents | 18fb7da42534 |
children | 989155e2d07a b2e698d2276c |
comparison
equal
deleted
inserted
replaced
7456:7d42f3b08300 | 7457:35431a769282 |
---|---|
66 // Offset (in words) of field from start of instanceOop / Klass* | 66 // Offset (in words) of field from start of instanceOop / Klass* |
67 int offset() const { return field()->offset(); } | 67 int offset() const { return field()->offset(); } |
68 Symbol* generic_signature() const; | 68 Symbol* generic_signature() const; |
69 int index() const { return _index; } | 69 int index() const { return _index; } |
70 AnnotationArray* annotations() const; | 70 AnnotationArray* annotations() const; |
71 AnnotationArray* type_annotations() const; | |
71 | 72 |
72 // Initial field value | 73 // Initial field value |
73 bool has_initial_value() const { return field()->initval_index() != 0; } | 74 bool has_initial_value() const { return field()->initval_index() != 0; } |
74 int initial_value_index() const { return field()->initval_index(); } | 75 int initial_value_index() const { return field()->initval_index(); } |
75 constantTag initial_value_tag() const; // The tag will return true on one of is_int(), is_long(), is_single(), is_double() | 76 constantTag initial_value_tag() const; // The tag will return true on one of is_int(), is_long(), is_single(), is_double() |