< prev index next >

src/hotspot/share/oops/symbol.hpp

Print this page
*** 239,10 ***
--- 239,22 ---
      if (position < 0)  return false;  // can happen with ends_with
      if (position >= utf8_length()) return false;
      return code_byte == char_at(position);
    }
  
+   // True if this is a descriptor for a method with void return.
+   // (Assumes it is a valid descriptor.)
+   bool is_void_method_signature() const {
+     return starts_with('(') && ends_with('V');
+   }
+ 
+   bool is_Q_signature() const;
+   bool is_Q_array_signature() const;
+   bool is_Q_method_signature() const;
+   Symbol* fundamental_name(TRAPS);
+   bool is_same_fundamental_type(Symbol*) const;
+ 
    // Test if the symbol has the give substring at or after the i-th char.
    int index_of_at(int i, const char* substr, int substr_len) const;
  
    // Three-way compare for sorting; returns -1/0/1 if receiver is </==/> than arg
    // note that the ordering is not alfabetical

*** 283,10 ***
--- 295,11 ---
    // Printing
    void print_symbol_on(outputStream* st = nullptr) const;
    void print_utf8_on(outputStream* st) const;
    void print_on(outputStream* st) const;         // First level print
    void print_value_on(outputStream* st) const;   // Second level print.
+   void print_Qvalue_on(outputStream* st) const;  // Second level print for Q-types.
  
    // printing on default output stream
    void print() const;
    void print_value() const;
  
< prev index next >