1 /* |
1 /* |
2 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
175 bool has_default_methods() { |
176 bool has_default_methods() { |
176 assert(is_loaded(), "must be loaded"); |
177 assert(is_loaded(), "must be loaded"); |
177 return _has_default_methods; |
178 return _has_default_methods; |
178 } |
179 } |
179 |
180 |
|
181 bool is_anonymous() { |
|
182 return _is_anonymous; |
|
183 } |
|
184 |
180 ciInstanceKlass* get_canonical_holder(int offset); |
185 ciInstanceKlass* get_canonical_holder(int offset); |
181 ciField* get_field_by_offset(int field_offset, bool is_static); |
186 ciField* get_field_by_offset(int field_offset, bool is_static); |
182 ciField* get_field_by_name(ciSymbol* name, ciSymbol* signature, bool is_static); |
187 ciField* get_field_by_name(ciSymbol* name, ciSymbol* signature, bool is_static); |
183 |
188 |
184 GrowableArray<ciField*>* non_static_fields(); |
189 GrowableArray<ciField*>* non_static_fields(); |