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 inline bool has_internal_null_marker() const;
93
94 bool is_synthetic() const { return access_flags().is_synthetic(); }
95
96 bool is_field_access_watched() const { return field_status().is_access_watched(); }
97 bool is_field_modification_watched() const
98 { return field_status().is_modification_watched(); }
99 bool has_initialized_final_update() const { return field_status().is_initialized_final_update(); }
100 bool has_generic_signature() const { return field_flags().is_generic(); }
101
102 bool is_trusted_final() const;
103
104 inline void set_is_field_access_watched(const bool value);
105 inline void set_is_field_modification_watched(const bool value);
106 inline void set_has_initialized_final_update(const bool value);
107
108 // Initialization
109 void reinitialize(InstanceKlass* ik, int index);
110
111 // Print
112 void print() const;
|