< prev index next >

src/hotspot/share/oops/symbol.hpp

Print this page
*** 238,10 ***
--- 238,19 ---
      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');
+   }
+ 
+   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
< prev index next >