public class JpsSourceFolder extends JpsContentFolderBase implements SourceFolder
Disposable.Parent
myContentEntry, myFilePointer
Constructor and Description |
---|
JpsSourceFolder(JpsModuleSourceRoot sourceRoot,
JpsContentEntry contentEntry) |
Modifier and Type | Method and Description |
---|---|
JpsModuleSourceRoot |
getJpsElement() |
java.lang.String |
getPackagePrefix()
Returns the package prefix for this source root.
|
JpsModuleSourceRootType<?> |
getRootType() |
JpsModuleSourceRoot |
getSourceRoot() |
boolean |
isTestSource()
Checks if this root is a production or test source root.
|
void |
setPackagePrefix(java.lang.String packagePrefix)
Sets the package prefix for this source root.
|
dispose, getContentEntry, getFile, getUrl, isSynthetic
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContentEntry, getFile, getUrl
isSynthetic
public JpsSourceFolder(JpsModuleSourceRoot sourceRoot, JpsContentEntry contentEntry)
public JpsModuleSourceRoot getSourceRoot()
public boolean isTestSource()
SourceFolder
isTestSource
in interface SourceFolder
public java.lang.String getPackagePrefix()
SourceFolder
getPackagePrefix
in interface SourceFolder
public void setPackagePrefix(java.lang.String packagePrefix)
SourceFolder
setPackagePrefix
in interface SourceFolder
packagePrefix
- the package prefix, or an empty string if the root has no package prefix.public JpsModuleSourceRootType<?> getRootType()
getRootType
in interface SourceFolder
public JpsModuleSourceRoot getJpsElement()
getJpsElement
in interface SourceFolder