public class MainMethodCheck extends Object implements SourceChecker, APICheck
Modifier and Type | Class and Description |
---|---|
static class |
MainMethodCheck.CommentRemoverStateMachine |
Modifier and Type | Field and Description |
---|---|
static String |
MAIN_REGEXP |
Constructor and Description |
---|
MainMethodCheck() |
Modifier and Type | Method and Description |
---|---|
boolean |
check(org.apache.maven.project.MavenProject mavenproject,
org.apache.maven.plugin.logging.Log log) |
boolean |
passesTest(File sourceFile) |
public static String MAIN_REGEXP
public boolean check(org.apache.maven.project.MavenProject mavenproject, org.apache.maven.plugin.logging.Log log) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
public boolean passesTest(File sourceFile)
passesTest
in interface SourceChecker
Copyright © 2018 universAAL Consortium. All rights reserved.