java.lang.Object
org.elasticsearch.plugin.scanner.ClassReaders

public class ClassReaders extends Object
A utility class containing methods to create streams of ASM's ClassReader
See Also:
  • ClassReader
  • Constructor Details

    • ClassReaders

      public ClassReaders()
  • Method Details

    • ofDirWithJars

      public static List<org.objectweb.asm.ClassReader> ofDirWithJars(Path dir)
      This method must be used within a try-with-resources statement or similar control structure.
    • ofPaths

      public static List<org.objectweb.asm.ClassReader> ofPaths(Set<URL> classpathFiles)
    • ofPaths

      public static List<org.objectweb.asm.ClassReader> ofPaths(Stream<Path> list)
      This method must be used within a try-with-resources statement or similar control structure.
    • ofClassPath

      public static List<org.objectweb.asm.ClassReader> ofClassPath() throws IOException
      Throws:
      IOException
    • ofClassPath

      public static List<org.objectweb.asm.ClassReader> ofClassPath(String classpath)