Class JvmNames

java.lang.Object
sootup.core.signatures.JvmNames

public final class JvmNames extends Object
Unqualified-name rules of JVMS 4.2.2, checked when a signature is interned so no signature with an illegal name exists. Names are stored unescaped; Jimple quoting is a printer/parser concern.
  • Method Details

    • checkFieldName

      public static void checkFieldName(@NonNull String name)
      Field name: non-empty, none of . ; [ /.
      Throws:
      IllegalArgumentException - otherwise
    • checkMethodName

      public static void checkMethodName(@NonNull String name)
      Method name: field-name rules, plus < > only as <init> or <clinit>.
      Throws:
      IllegalArgumentException - otherwise