public class JdtProjectSourceCodeFileProvider extends Object implements SourceCodeFileProvider
Constructor and Description |
---|
JdtProjectSourceCodeFileProvider(org.eclipse.jdt.core.IJavaProject project)
Creates a provider returning source files from the provided
project ’s
source folders. |
Modifier and Type | Method and Description |
---|---|
File |
getSourceFile(String fullyQualifiedJavaPath)
Queries the source code file containing the source code of the type denoted by
fullyQualifiedJavaPath . |
public JdtProjectSourceCodeFileProvider(org.eclipse.jdt.core.IJavaProject project)
project
’s
source folders.project
- A Java project to return the source files from.public File getSourceFile(String fullyQualifiedJavaPath)
SourceCodeFileProvider
fullyQualifiedJavaPath
.getSourceFile
in interface SourceCodeFileProvider
fullyQualifiedJavaPath
- The fully qualified path of a Java type.fullyQualifiedJavaPath
. null
if no file defining the type
can be found.