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, openOutputStreamForAppend
create, delete, exists, getFileSystem, getName, getParent, getPath, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toURI
IFile getEnclosingFile()
String getScope()
int getOffset()
int getLength()
HostKind getHostKind()
Object getContainer()
void setContainer(Object container)
default IFile getPhysicalFile()
IFile
getPhysicalFile
in interface IFile
Copyright © 2024. All rights reserved.