Package org.sonar.java.classpath
Class AbstractClasspath
- java.lang.Object
-
- org.sonar.java.classpath.AbstractClasspath
-
- Direct Known Subclasses:
ClasspathForMain
,ClasspathForTest
@ScannerSide @SonarLintSide public abstract class AbstractClasspath extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected List<File>
binaries
protected List<File>
elements
protected org.sonar.api.batch.fs.FileSystem
fs
protected boolean
initialized
protected org.sonar.api.config.Configuration
settings
protected boolean
validateLibraries
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractClasspath(org.sonar.api.config.Configuration settings, org.sonar.api.batch.fs.FileSystem fs, org.sonar.api.batch.fs.InputFile.Type fileType)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description List<File>
getBinaryDirs()
List<File>
getElements()
protected Set<File>
getFilesFromProperty(String property)
protected List<File>
getJdkJars()
protected boolean
hasJavaSources()
protected boolean
hasMoreThanOneJavaFile()
protected abstract void
init()
abstract void
logSuspiciousEmptyLibraries()
-