Class AsmDecompiler
java.lang.Object
org.codehaus.groovy.ast.decompiled.AsmDecompiler
A utility class responsible for decompiling JVM class files and producing 
ClassStub objects reflecting their structure.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ClassStubparseClass(URL url) Loads the URL contents and parses them with ASM, producing aClassStubobject representing the structure of the corresponding class file.
- 
Constructor Details- 
AsmDecompilerpublic AsmDecompiler()
 
- 
- 
Method Details- 
parseClassLoads the URL contents and parses them with ASM, producing aClassStubobject representing the structure of the corresponding class file. Stubs are cached and reused if queried several times with equal URLs.- Parameters:
- url- a URL from a class loader, most likely a file system file or a JAR entry.
- Returns:
- the class stub
- Throws:
- IOException- if reading from this URL is impossible
 
 
-