@Test @Ignore public void tasks() throws Exception { Blaze blaze = new Blaze.Builder() .file(resourceAsPath("/jdk/only_public.java")) .build(); systemOutRule.clearLog(); List<BlazeTask> tasks = blaze.tasks(); assertThat(tasks, hasSize(1)); assertThat(tasks.get(0).getName(), is("main")); }
@Override public String getName() { return "java"; }
BlazeJdkEngine extends AbstractEngine<BlazeJdkScript> { @Override public String getName() { return "java"; } }
BlazeJdkEngine extends AbstractEngine<BlazeJdkScript> { @Override public String getName() { return "java"; }  }
BlazeJdkEngine extends AbstractEngine<BlazeJdkScript> { @Override public String getName() { return "java"; }  @Override String getName(); @Override List<String> getFileExtensions(); @Override void init(Context initialContext); @Override BlazeJdkScript compile(Context context); void javac(ClassLoader classLoader, Context context, Path classesDir); static boolean isSystemCompilerAvailable(); static List<Dependency> compilerDependencies(String fileExtension); static JavaCompiler loadJavaCompiler(ClassLoader classLoader, Context context,List<String> options); }
BlazeJdkEngine extends AbstractEngine<BlazeJdkScript> { @Override public String getName() { return "java"; }  @Override String getName(); @Override List<String> getFileExtensions(); @Override void init(Context initialContext); @Override BlazeJdkScript compile(Context context); void javac(ClassLoader classLoader, Context context, Path classesDir); static boolean isSystemCompilerAvailable(); static List<Dependency> compilerDependencies(String fileExtension); static JavaCompiler loadJavaCompiler(ClassLoader classLoader, Context context,List<String> options); static final List<String> EXTS; }