Class ImportGrabber

java.lang.Object
org.apache.drill.exec.expr.fn.ImportGrabber

public class ImportGrabber extends Object
  • Method Details

    • getImports

      public static List<String> getImports(org.codehaus.janino.Java.CompilationUnit compilationUnit)
      Creates list of imports that are present in compilation unit. For example: [import io.netty.buffer.DrillBuf;, import org.apache.drill.exec.expr.DrillSimpleFunc;]
      Parameters:
      compilationUnit - compilation unit
      Returns:
      list of imports