< prev index next > src/hotspot/share/runtime/signature.hpp
Print this page
BasicType _type;
int _state;
Symbol* _previous_name; // cache the previously looked up symbol to avoid lookups
GrowableArray<Symbol*>* _names; // symbols created while parsing that need to be dereferenced
- Symbol* find_symbol();
+ Symbol* find_symbol(bool probe_only);
enum { _s_field = 0, _s_method = 1, _s_method_return = 3 };
void set_done() {
_state |= -2; // preserve s_method bit
assert(is_done(), "Unable to set state to done");
assert(_signature->char_at(_end-1) == JVM_SIGNATURE_ENDCLASS, "signature envelope has no semi-colon at end");
return true;
}
// return the symbol for chars in symbol_begin()..symbol_end()
- Symbol* as_symbol() {
- return find_symbol();
+ Symbol* as_symbol(bool probe_only = false) {
+ return find_symbol(probe_only);
}
// in case you want only the return type:
void skip_to_return_type();
< prev index next >