Class AsmDecompiler

  • public abstract class AsmDecompiler
    extends Object
    A utility class responsible for decompiling JVM class files and producing ClassStub objects reflecting their structure.
    • Constructor Detail

      • AsmDecompiler

        public AsmDecompiler()
    • Method Detail

      • parseClass

        public static ClassStub parseClass​(URL url)
                                    throws IOException
        Loads the URL contents and parses them with ASM, producing a ClassStub object representing the structure of the corresponding class file. Stubs are cached and reused if queried several times with equal URLs.
        url - an URL from a class loader, most likely a file system file or a JAR entry.
        the class stub
        IOException - if reading from this URL is impossible