< prev index next >
src/share/vm/classfile/classFileParser.hpp
Print this page
@@ -129,17 +129,19 @@
_method_DontInline,
_method_InjectedProfile,
_method_LambdaForm_Compiled,
_method_LambdaForm_Hidden,
_method_HotSpotIntrinsicCandidate,
+ _method_Accessor_Method,
_sun_misc_Contended,
_field_Stable,
_annotation_LIMIT
};
const Location _location;
int _annotations_present;
u2 _contended_group;
+ u2 _accessor_field_name;
AnnotationCollector(Location location)
: _location(location), _annotations_present(0)
{
assert((int)_annotation_LIMIT <= (int)sizeof(_annotations_present) * BitsPerByte, "");
@@ -166,10 +168,16 @@
bool is_contended() const { return has_annotation(_sun_misc_Contended); }
void set_stable(bool stable) { set_annotation(_field_Stable); }
bool is_stable() const { return has_annotation(_field_Stable); }
+
+ void set_accessor_field_name(u2 fname) { _accessor_field_name = fname; }
+ u2 accessor_field_name() { return _accessor_field_name; }
+
+ bool is_accessor() const { return has_annotation(_method_Accessor_Method); }
+
};
// This class also doubles as a holder for metadata cleanup.
class FieldAnnotationCollector: public AnnotationCollector {
ClassLoaderData* _loader_data;
< prev index next >