public interface IFileFragment extends IFile
EMPTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
Object |
getContainer()
The file element hosting the fragment e.g., a comment or string literal
|
IFile |
getEnclosingFile() |
HostKind |
getHostKind() |
int |
getLength() |
int |
getOffset() |
default IFile |
getPhysicalFile()
Facilitates virtual files e.g., IFileFragment
|
String |
getScope() |
void |
setContainer(Object container) |
void |
setOffset(Supplier<Integer> offset) |
getBaseName, getExtension, getIFile, openInputStream, openOutputStream, openOutputStreamForAppendcreate, delete, exists, getFileSystem, getName, getParent, getPath, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toURIIFile getEnclosingFile()
String getScope()
int getOffset()
int getLength()
HostKind getHostKind()
Object getContainer()
void setContainer(Object container)
default IFile getPhysicalFile()
IFilegetPhysicalFile in interface IFileCopyright © 2024. All rights reserved.