Modifier and Type | Interface and Description |
---|---|
interface |
IFileFragment
A fragment of a file that is to be treated separate from the enclosing file.
|
Modifier and Type | Field and Description |
---|---|
static IFile[] |
IFile.EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
static IFile |
IDirectoryUtil.file(IJarFileDirectory root,
String path) |
IFile |
IDirectory.file(String path)
Constucts a file given the path.
|
IFile |
DelegateDirectory.file(String path) |
IFile |
IFileFragment.getEnclosingFile() |
IFile |
IFileSystem.getIFile(File file) |
static IFile |
IFile.getIFile(IFileSystem fs,
Path classFile) |
IFile |
IFileSystem.getIFile(URL url) |
default IFile |
IFileFragment.getPhysicalFile() |
default IFile |
IFile.getPhysicalFile()
Facilitates virtual files e.g., IFileFragment
|
Modifier and Type | Method and Description |
---|---|
List<? extends IFile> |
IDirectory.listFiles() |
List<? extends IFile> |
DelegateDirectory.listFiles() |
Modifier and Type | Method and Description |
---|---|
static int |
IFileUtil.findOffset(IFile file,
int line,
int column) |
static String |
IFileUtil.getBaseName(IFile file) |
static String |
IFileUtil.getExtension(IFile file) |
Modifier and Type | Method and Description |
---|---|
Set<IFile> |
PathCache.findFiles(String fqn) |
FqnCache<IFile> |
PathCache.getExtensionCache(String extension) |
Map<String,FqnCache<IFile>> |
PathCache.getExtensionCaches() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
PathCache.getFqnForFile(IFile file) |
Modifier and Type | Class and Description |
---|---|
class |
FileFragmentImpl |
class |
JavaFileImpl |
Modifier and Type | Method and Description |
---|---|
IFile |
JavaDirectoryImpl.file(String path) |
IFile |
FileFragmentImpl.getEnclosingFile() |
IFile |
FileSystemImpl.getIFile(File file) |
IFile |
FileSystemImpl.getIFile(URL url) |
Modifier and Type | Method and Description |
---|---|
List<? extends IFile> |
JavaDirectoryImpl.listFiles() |
Constructor and Description |
---|
FileFragmentImpl(String scope,
String name,
String ext,
HostKind hostKind,
IFile enclosingFile,
int offset,
int length,
String content) |
Modifier and Type | Class and Description |
---|---|
class |
JarEntryFileImpl |
Modifier and Type | Method and Description |
---|---|
IFile |
JarFileDirectoryImpl.file(String path) |
IFile |
JarEntryDirectoryImpl.file(String path) |
Modifier and Type | Method and Description |
---|---|
List<? extends IFile> |
JarFileDirectoryImpl.listFiles() |
List<? extends IFile> |
JarEntryDirectoryImpl.listFiles() |
Modifier and Type | Class and Description |
---|---|
class |
URLFileImpl
HTTP-backed file.
|
Constructor and Description |
---|
SrcLinkedClass(String fqn,
AbstractSrcClass.Kind kind,
IFile linkedFile) |
SrcLinkedClass(String fqn,
AbstractSrcClass.Kind kind,
IFile linkedFile,
JavaFileManager.Location location,
IModule module,
DiagnosticListener<JavaFileObject> errorHandler)
Use this constructor to automatically handle extension methods on inner classes
|
SrcLinkedClass(String fqn,
AbstractSrcClass enclosingClass,
AbstractSrcClass.Kind kind,
IFile linkedFile,
JavaFileManager.Location location,
IModule module,
DiagnosticListener<JavaFileObject> errorHandler) |
Modifier and Type | Field and Description |
---|---|
IFile |
RefreshRequest.file |
Modifier and Type | Method and Description |
---|---|
default Set<ITypeManifold> |
IModule.findTypeManifoldsFor(IFile file) |
default Set<ITypeManifold> |
IModule.findTypeManifoldsFor(IFile file,
Predicate<ITypeManifold> predicate)
Finds the set of type manifolds that handle a given resource file.
|
ClassLoader |
IManifoldHost.getClassLoaderForFile(IFile file) |
Constructor and Description |
---|
RefreshRequest(IFile file,
String[] types,
IModule module,
RefreshKind kind) |
Modifier and Type | Method and Description |
---|---|
IFile |
AbstractSingleFileModel.getFile() |
Modifier and Type | Method and Description |
---|---|
List<IFile> |
UrlTypeManifold.findFilesForType(String fqn) |
List<IFile> |
ResourceFileTypeManifold.findFilesForType(String fqn) |
List<IFile> |
ITypeManifold.findFilesForType(String fqn) |
Set<IFile> |
IModel.getFiles() |
Set<IFile> |
AbstractSingleFileModel.getFiles() |
Modifier and Type | Method and Description |
---|---|
void |
IModel.addFile(IFile file)
Add
file to the set of files this model uses. |
void |
AbstractSingleFileModel.addFile(IFile file) |
protected Set<String> |
ResourceFileTypeManifold.getAdditionalTypes(String fqnForFile,
IFile file)
Additional types derived from
file . |
static String |
ResourceFileTypeManifold.getContent(IFile file) |
String |
ResourceFileTypeManifold.getTypeNameForFile(String defaultFqn,
IFile file)
Provide the type name that corresponds with the resource file, if different from
defaultFqn . |
String[] |
UrlTypeManifold.getTypesForFile(IFile file) |
String[] |
ResourceFileTypeManifold.getTypesForFile(IFile file) |
String[] |
IFileConnected.getTypesForFile(IFile file)
Returns ALL type names associated with the given file
whether or not the types have been loaded yet.
|
boolean |
UrlTypeManifold.handlesFile(IFile file) |
boolean |
ResourceFileTypeManifold.handlesFile(IFile file) |
boolean |
IFileConnected.handlesFile(IFile file) |
protected boolean |
ResourceFileTypeManifold.isDuplicate(IFile file,
Set<IFile> files) |
RefreshKind |
UrlTypeManifold.refreshedFile(IFile file,
String[] types,
RefreshKind kind) |
RefreshKind |
ResourceFileTypeManifold.refreshedFile(IFile file,
String[] types,
RefreshKind kind) |
RefreshKind |
IFileConnected.refreshedFile(IFile file,
String[] types,
RefreshKind kind)
Notifies that a file has been refreshed.
|
void |
IModel.removeFile(IFile file)
Remove
file from the set of files this model uses |
void |
AbstractSingleFileModel.removeFile(IFile file) |
void |
IModel.updateFile(IFile file)
Updates
file in the set of files this model uses |
void |
AbstractSingleFileModel.updateFile(IFile file) |
Modifier and Type | Method and Description |
---|---|
void |
ResourceFileTypeManifold.CacheClearer.createdType(Set<IFile> files,
String type) |
void |
ResourceFileTypeManifold.CacheClearer.deletedType(Set<IFile> files,
String type) |
protected void |
ResourceFileTypeManifold.init(IModule module,
BiFunction<String,Set<IFile>,M> modelMapper) |
protected boolean |
ResourceFileTypeManifold.isDuplicate(IFile file,
Set<IFile> files) |
void |
ResourceFileTypeManifold.CacheClearer.modifiedType(Set<IFile> files,
String type) |
Constructor and Description |
---|
AbstractSingleFileModel(IManifoldHost host,
String fqn,
Set<IFile> files) |
Modifier and Type | Method and Description |
---|---|
ClassLoader |
AbstractManifoldHost.getClassLoaderForFile(IFile file) |
Modifier and Type | Method and Description |
---|---|
Set<IFile> |
SourceSupplier.getResourceFiles() |
Set<IFile> |
GeneratedJavaStubFileObject.getResourceFiles()
Resource files from which the type is created.
|
Copyright © 2024. All rights reserved.