public abstract class UrlTypeManifold extends BaseService implements ITypeManifold
UrlTypeManifold
.ARG_DUMP_SOURCE
Constructor and Description |
---|
UrlTypeManifold() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear all cached data
|
List<IFile> |
findFilesForType(String fqn) |
ClassType |
getClassType(String fqn)
What kind of type corresponds with fqn?
|
ContributorKind |
getContributorKind()
How does this producer contribute toward the source file produced
|
IModule |
getModule()
The module to which this producer is scoped
|
ISourceKind |
getSourceKind()
What kind of source is produced?
|
String[] |
getTypesForFile(IFile file)
Returns ALL type names associated with the given file
whether or not the types have been loaded yet.
|
boolean |
handlesFile(IFile file) |
boolean |
handlesFileExtension(String fileExtension) |
void |
init(IModule module)
Initialize this type manifold.
|
boolean |
isTopLevelType(String fqn) |
RefreshKind |
refreshedFile(IFile file,
String[] types,
RefreshKind kind)
Notifies that a file has been refreshed.
|
doInit, doUninit, init, isInited, uninit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, contribute, enterPostJavaCompilation, getAllTypeNames, getPackage, getTypeNames, isPackage, isType
isFileBacked
compile, isSelfCompile, parse
getInterface
public void init(IModule module)
ITypeManifold
init
in interface ITypeManifold
module
- The module to which this type manifold exclusively belongspublic IModule getModule()
ITypeManifold
getModule
in interface ITypeManifold
public ISourceKind getSourceKind()
ITypeManifold
getSourceKind
in interface ITypeManifold
public ContributorKind getContributorKind()
ITypeManifold
getContributorKind
in interface ITypeManifold
public boolean isTopLevelType(String fqn)
isTopLevelType
in interface ITypeManifold
public ClassType getClassType(String fqn)
ITypeManifold
getClassType
in interface ITypeManifold
public List<IFile> findFilesForType(String fqn)
findFilesForType
in interface ITypeManifold
public void clear()
ITypeManifold
clear
in interface ITypeManifold
public boolean handlesFileExtension(String fileExtension)
handlesFileExtension
in interface IFileConnected
fileExtension
public boolean handlesFile(IFile file)
handlesFile
in interface IFileConnected
file
public String[] getTypesForFile(IFile file)
IFileConnected
getTypesForFile
in interface IFileConnected
file
- The file in questionpublic RefreshKind refreshedFile(IFile file, String[] types, RefreshKind kind)
IFileConnected
refreshedFile
in interface IFileConnected
file
- The file that was refreshedkind
- @return All known types affected by the file changeCopyright © 2024. All rights reserved.