Package jenkins.util

Class SourceCodeEscapers

java.lang.Object
jenkins.util.SourceCodeEscapers

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public final class SourceCodeEscapers extends Object
  • Method Details

    • javaCharEscaper

      public static com.google.common.escape.CharEscaper javaCharEscaper()
      Returns an Escaper instance that escapes special characters in a string so it can safely be included in either a Java character literal or string literal.