@Test public void testIsJava() { assertThat(helper.isJava(javaPath)).isTrue(); assertThat(helper.isPMML(javaPath)).isFalse(); assertThat(helper.isDMN(javaPath)).isFalse(); }
@Override public boolean isJava(final Path path) { final String fileName = path.getFileName(); if (StringUtils.isEmpty(fileName)) { return false; } return fileName.endsWith(".java"); }
DMNImportTypesHelperImpl implements DMNImportTypesHelper { @Override public boolean isJava(final Path path) { final String fileName = path.getFileName(); if (StringUtils.isEmpty(fileName)) { return false; } return fileName.endsWith(".java"); } }
DMNImportTypesHelperImpl implements DMNImportTypesHelper { @Override public boolean isJava(final Path path) { final String fileName = path.getFileName(); if (StringUtils.isEmpty(fileName)) { return false; } return fileName.endsWith(".java"); }  }
DMNImportTypesHelperImpl implements DMNImportTypesHelper { @Override public boolean isJava(final Path path) { final String fileName = path.getFileName(); if (StringUtils.isEmpty(fileName)) { return false; } return fileName.endsWith(".java"); }  @Override boolean isDMN(final Path path); @Override boolean isPMML(final Path path); @Override boolean isJava(final Path path); }
DMNImportTypesHelperImpl implements DMNImportTypesHelper { @Override public boolean isJava(final Path path) { final String fileName = path.getFileName(); if (StringUtils.isEmpty(fileName)) { return false; } return fileName.endsWith(".java"); }  @Override boolean isDMN(final Path path); @Override boolean isPMML(final Path path); @Override boolean isJava(final Path path);  }