public class ResourceCompilationUnit
extends java.lang.Object
implements org.eclipse.jdt.internal.compiler.env.ICompilationUnit
Resource.| Constructor and Description |
|---|
ResourceCompilationUnit(org.springframework.core.io.Resource resource,
java.nio.file.Path rootPath)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
char[] |
getContents() |
char[] |
getFileName() |
char[] |
getMainTypeName() |
char[][] |
getPackageName() |
boolean |
ignoreOptionalProblems() |
public ResourceCompilationUnit(org.springframework.core.io.Resource resource,
java.nio.file.Path rootPath)
resource - the resourcerootPath - the root path, from which packages are determinedjava.lang.IllegalArgumentException - if any argument is nullpublic char[] getFileName()
getFileName in interface org.eclipse.jdt.internal.compiler.env.IDependentpublic char[] getContents()
getContents in interface org.eclipse.jdt.internal.compiler.env.ICompilationUnitpublic char[] getMainTypeName()
getMainTypeName in interface org.eclipse.jdt.internal.compiler.env.ICompilationUnitpublic char[][] getPackageName()
getPackageName in interface org.eclipse.jdt.internal.compiler.env.ICompilationUnitpublic boolean ignoreOptionalProblems()
ignoreOptionalProblems in interface org.eclipse.jdt.internal.compiler.env.ICompilationUnit