Class Checker


  • public class Checker
    extends Object
    Performs check.
    Author:
    Kohsuke Kawaguchi
    • Field Detail

      • dependencies

        public final ClassLoader dependencies
        Where dependencies are loaded. We don't actually load classes, but this is used to search for class files and indexed restrictions.
    • Method Detail

      • check

        public void check​(File f)
                   throws IOException
        Checks a single class file or a directory full of class files (recursively.)
        Throws:
        IOException
      • checkClass

        public void checkClass​(File clazz)
                        throws IOException
        Inspects a class for the restriction violations.
        Throws:
        IOException