multiplecomponents.src.verifier.java.org.gradle.Verifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-api Show documentation
Show all versions of gradle-api Show documentation
Gradle 6.9.1 API redistribution.
package org.gradle;
import org.objectweb.asm.*;
import org.objectweb.asm.tree.*;
import org.objectweb.asm.tree.analysis.*;
public class Verifier {
public void verify(String className) throws Exception {
ClassNode cn = new ClassNode();
new ClassReader(className).accept(cn, ClassReader.SKIP_DEBUG);
for (Object method : cn.methods) {
Analyzer a = new Analyzer(new SimpleVerifier());
a.analyze(cn.name, (MethodNode)method);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy