Class MethodDescriptorGrammar

java.lang.Object
proguard.classfile.attribute.signature.grammars.MethodDescriptorGrammar

public final class MethodDescriptorGrammar extends Object
Implements parser for the method descriptor grammar defined in JVM spec.
See Also:
  • Method Details

    • parse

      @Nullable public static @Nullable MethodDescriptorNode parse(@NotNull @NotNull String input)
      Parse the given method descriptor and return its parse tree.
      Parameters:
      input - The string to parse.
      Returns:
      A parsed out result, or null if not valid method descriptor.