< prev index next >

src/hotspot/share/ci/ciSymbol.hpp

Print this page
*** 43,10 ***
--- 43,11 ---
    friend class ciInstanceKlass;
    friend class ciSignature;
    friend class ciMethod;
    friend class ciField;
    friend class ciObjArrayKlass;
+   friend class ciFlatArrayKlass;
  
  private:
    const vmSymbolID _sid;
  
    ciSymbol(Symbol* s, vmSymbolID sid);

*** 79,10 ***
--- 80,18 ---
    // 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() const;
+   bool is_Q_array_signature() const;
  
    // 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 >