@Beta @BatchSide public interface JavaResourceLocator extends JavaFileScanner
Modifier and Type | Method and Description |
---|---|
Collection<File> |
classFilesToAnalyze()
.class files to be analyzed.
|
Collection<String> |
classKeys()
Deprecated.
since 4.1 : used by bytecode visitor scanner and should be dropped when it is removed.
|
Collection<File> |
classpath()
Classpath configured for the project.
|
org.sonar.api.batch.fs.InputFile |
findResourceByClassName(String className)
Retrieve a SonarQube resource by the class name.
|
String |
findSourceFileKeyByClassName(String className)
Deprecated.
since 4.1 : will be dropped with no replacement.
|
Integer |
getMethodStartLine(String fullyQualifiedMethodName)
Deprecated.
since 4.1 : used by bytecode visitor scanner and should be dropped when it is removed.
|
scanFile
@CheckForNull org.sonar.api.batch.fs.InputFile findResourceByClassName(String className)
className
- fully qualified name of the analyzed class@Deprecated String findSourceFileKeyByClassName(String className)
className
- fully qualified name of the analyzed class.@Deprecated Collection<String> classKeys()
Collection<File> classFilesToAnalyze()
Collection<File> classpath()
@Deprecated Integer getMethodStartLine(String fullyQualifiedMethodName)
fullyQualifiedMethodName
- the full name of the method.Copyright © 2012–2016 SonarSource. All rights reserved.