public static ClassFileMetaData analyzeClass(InputStream inputStream, JdkVersionCheck jdkVersionCheck, ArtifactVersion artifactVersion) {
        try {
            AnalyzeClassVisitor visitor = new AnalyzeClassVisitor(artifactVersion, jdkVersionCheck);
            new ClassReader(inputStream).accept(visitor, ClassReader.SKIP_DEBUG);
            return visitor.result();
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
Main entry point for class analysis

@author Tony Vaagenes
@author ollivir
@author gjoranv
bundle-plugin/src/main/java/com/yahoo/container/plugin/classanalysis/Analyze.java