69 inline int initial_value_index() const;
70 constantTag initial_value_tag() const; // The tag will return true on one of is_int(), is_long(), is_single(), is_double()
71 jint int_initial_value() const;
72 jlong long_initial_value() const;
73 jfloat float_initial_value() const;
74 jdouble double_initial_value() const;
75 oop string_initial_value(TRAPS) const;
76
77 // Field signature type
78 inline BasicType field_type() const;
79
80 // Access flags
81 bool is_private() const { return access_flags().is_private(); }
82 bool is_protected() const { return access_flags().is_protected(); }
83
84 bool is_static() const { return access_flags().is_static(); }
85 bool is_final() const { return access_flags().is_final(); }
86 bool is_stable() const { return field_flags().is_stable(); }
87 bool is_volatile() const { return access_flags().is_volatile(); }
88 bool is_transient() const { return access_flags().is_transient(); }
89
90 bool is_synthetic() const { return access_flags().is_synthetic(); }
91
92 bool is_field_access_watched() const { return field_status().is_access_watched(); }
93 bool is_field_modification_watched() const
94 { return field_status().is_modification_watched(); }
95 bool has_initialized_final_update() const { return field_status().is_initialized_final_update(); }
96 bool has_generic_signature() const { return field_flags().is_generic(); }
97
98 bool is_trusted_final() const;
99
100 inline void set_is_field_access_watched(const bool value);
101 inline void set_is_field_modification_watched(const bool value);
102 inline void set_has_initialized_final_update(const bool value);
103
104 // Initialization
105 void reinitialize(InstanceKlass* ik, int index);
106
107 // Print
108 void print() const;
|
69 inline int initial_value_index() const;
70 constantTag initial_value_tag() const; // The tag will return true on one of is_int(), is_long(), is_single(), is_double()
71 jint int_initial_value() const;
72 jlong long_initial_value() const;
73 jfloat float_initial_value() const;
74 jdouble double_initial_value() const;
75 oop string_initial_value(TRAPS) const;
76
77 // Field signature type
78 inline BasicType field_type() const;
79
80 // Access flags
81 bool is_private() const { return access_flags().is_private(); }
82 bool is_protected() const { return access_flags().is_protected(); }
83
84 bool is_static() const { return access_flags().is_static(); }
85 bool is_final() const { return access_flags().is_final(); }
86 bool is_stable() const { return field_flags().is_stable(); }
87 bool is_volatile() const { return access_flags().is_volatile(); }
88 bool is_transient() const { return access_flags().is_transient(); }
89 inline bool is_flat() const;
90 inline bool is_null_free_inline_type() const;
91 inline bool has_null_marker() const;
92
93 bool is_synthetic() const { return access_flags().is_synthetic(); }
94
95 bool is_field_access_watched() const { return field_status().is_access_watched(); }
96 bool is_field_modification_watched() const
97 { return field_status().is_modification_watched(); }
98 bool has_initialized_final_update() const { return field_status().is_initialized_final_update(); }
99 bool has_generic_signature() const { return field_flags().is_generic(); }
100
101 bool is_trusted_final() const;
102
103 inline void set_is_field_access_watched(const bool value);
104 inline void set_is_field_modification_watched(const bool value);
105 inline void set_has_initialized_final_update(const bool value);
106
107 // Initialization
108 void reinitialize(InstanceKlass* ik, int index);
109
110 // Print
111 void print() const;
|