Package com.qulice.checkstyle
Class ImportCohesionCheck
- java.lang.Object
- 
- com.puppycrawl.tools.checkstyle.api.AutomaticBean
- 
- com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
- 
- com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck
- 
- com.qulice.checkstyle.ImportCohesionCheck
 
 
 
 
- 
- All Implemented Interfaces:
- Configurable,- Contextualizable,- FileSetCheck
 
 public final class ImportCohesionCheck extends AbstractFileSetCheck Check if import lines are all together without any empty lines or comments.All importinstructions shall stay together, without any empty lines between them. If you need to separate them because the list is too big - it's time to refactor the class and make is smaller.- Since:
- 0.3
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBeanAutomaticBean.OutputStreamOptions
 
- 
 - 
Constructor SummaryConstructors Constructor Description ImportCohesionCheck()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessFiltered(File file, FileText lines)- 
Methods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheckaddMessages, beginProcessing, destroy, finishProcessing, fireErrors, getFileExtensions, getMessageDispatcher, init, log, log, process, setFileExtensions, setMessageDispatcher
 - 
Methods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporterfinishLocalSetup, getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, setId, setSeverity
 - 
Methods inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBeanconfigure, contextualize, getConfiguration, setupChild
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.puppycrawl.tools.checkstyle.api.Configurableconfigure
 - 
Methods inherited from interface com.puppycrawl.tools.checkstyle.api.Contextualizablecontextualize
 
- 
 
- 
- 
- 
Method Detail- 
processFilteredpublic void processFiltered(File file, FileText lines) - Specified by:
- processFilteredin class- AbstractFileSetCheck
 
 
- 
 
-