Class MethodDescriptorGrammar


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static @Nullable MethodDescriptorNode parse​(@NotNull java.lang.String input)
      Parse the given method descriptor and return its parse tree.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parse

        @Nullable
        public static @Nullable MethodDescriptorNode parse​(@NotNull
                                                           @NotNull java.lang.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.