< prev index next >

src/hotspot/share/ci/ciSymbol.cpp

Print this page

        

@@ -84,10 +84,24 @@
 //
 // Tests if the symbol starts with the given prefix.
 bool ciSymbol::starts_with(const char* prefix, int len) const {
   GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix, len);)
 }
+bool ciSymbol::starts_with(char prefix_char) const {
+  GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix_char);)
+}
+
+// ------------------------------------------------------------------
+// ciSymbol::ends_with
+//
+// Tests if the symbol ends with the given suffix.
+bool ciSymbol::ends_with(const char* suffix, int len) const {
+  GUARDED_VM_ENTRY(return get_symbol()->ends_with(suffix, len);)
+}
+bool ciSymbol::ends_with(char suffix_char) const {
+  GUARDED_VM_ENTRY(return get_symbol()->ends_with(suffix_char);)
+}
 
 bool ciSymbol::is_signature_polymorphic_name()  const {
   GUARDED_VM_ENTRY(return MethodHandles::is_signature_polymorphic_name(get_symbol());)
 }
 

@@ -104,10 +118,16 @@
 int ciSymbol::utf8_length() {
   GUARDED_VM_ENTRY(return get_symbol()->utf8_length();)
 }
 
 // ------------------------------------------------------------------
+// ciSymbol::is_Q_signature
+bool ciSymbol::is_Q_signature() {
+  GUARDED_VM_ENTRY(return get_symbol()->is_Q_signature();)
+}
+
+// ------------------------------------------------------------------
 // ciSymbol::print_impl
 //
 // Implementation of the print method
 void ciSymbol::print_impl(outputStream* st) {
   st->print(" value=");
< prev index next >