public class JavaOutOfSourcesChecker extends java.lang.Object implements OutOfSourcesChecker
EP_NAME| Constructor and Description |
|---|
JavaOutOfSourcesChecker() |
| Modifier and Type | Method and Description |
|---|---|
FileType |
getFileType() |
boolean |
isOutOfSources(Project project,
VirtualFile virtualFile)
During automatic code changes, like ones, performed before commit (Reformat, Rearrange code, Optimize imports),
we do not want to touch source files, which are not compiled or executed (like "test data" source files, used in tests).
|
public FileType getFileType()
getFileType in interface OutOfSourcesCheckerpublic boolean isOutOfSources(Project project, VirtualFile virtualFile)
OutOfSourcesCheckerisOutOfSources in interface OutOfSourcesChecker