< prev index next >

src/hotspot/share/ci/ciSymbol.hpp

Print this page

        

*** 44,53 **** --- 44,54 ---- friend class ciInstanceKlass; friend class ciSignature; friend class ciMethod; friend class ciField; friend class ciObjArrayKlass; + friend class ciValueArrayKlass; private: const vmSymbols::SID _sid; DEBUG_ONLY( bool sid_ok() { return vmSymbols::find_sid(get_symbol()) == _sid; } )
*** 80,89 **** --- 81,97 ---- // Return the i-th utf byte as a char, where i < utf8_length char char_at(int i); // Tests if the symbol starts with the given prefix. bool starts_with(const char* prefix, int len) const; + bool starts_with(char prefix_char) const; + + // Tests if the symbol ends with the given suffix. + bool ends_with(const char* suffix, int len) const; + bool ends_with(char suffix_char) const; + + bool is_Q_signature(); // Determines where the symbol contains the given substring. int index_of_at(int i, const char* str, int len) const; void print_symbol_on(outputStream* st);
< prev index next >