Class JimpleUtils

java.lang.Object
sootup.core.jimple.JimpleUtils

public class JimpleUtils extends Object
  • Constructor Details

    • JimpleUtils

      public JimpleUtils()
  • Method Details

    • quotedNameOf

      public static String quotedNameOf(String s)
      Quotes reserved Jimple keywords with single quotes. Method, field, or local names matching reserved Jimple grammar tokens (e.g. 'from', 'to', 'default') must be quoted in signatures and printed Jimple to prevent grammar syntax errors during Jimple parsing.
    • escape

      public static String escape(String str)
      Escapes reserved Jimple keywords e.g. used in (Stmt)Printer, necessary in the JimpleParser
    • unescape

      public static String unescape(String str)