public class ExtensionManifold extends JavaTypeManifold<Model> implements ITypeProcessor
ResourceFileTypeManifold.CacheClearer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXTENSIONS_PACKAGE |
ARG_DUMP_SOURCE
Constructor and Description |
---|
ExtensionManifold() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
contribute(javax.tools.JavaFileManager.Location location,
java.lang.String topLevelFqn,
boolean genStubs,
java.lang.String existing,
Model model,
javax.tools.DiagnosticListener<javax.tools.JavaFileObject> errorHandler) |
protected ResourceFileTypeManifold.CacheClearer |
createCacheClearer() |
protected java.util.Set<java.lang.String> |
getAdditionalTypes(java.lang.String fqnForFile,
IFile file) |
ContributorKind |
getContributorKind() |
protected java.util.Map<java.lang.String,manifold.util.concurrent.LocklessLazyVar<Model>> |
getPeripheralTypes() |
java.lang.String |
getTypeNameForFile(java.lang.String fqn,
IFile file) |
boolean |
handlesFile(IFile file) |
boolean |
handlesFileExtension(java.lang.String fileExtension) |
void |
init(IModule module) |
boolean |
isInnerType(java.lang.String topLevel,
java.lang.String relativeInner) |
void |
process(javax.lang.model.element.TypeElement typeElement,
TypeProcessor typeProcessor,
IssueReporter<javax.tools.JavaFileObject> issueReporter) |
getClassType, getSourceKind
clear, contribute, findFilesForType, findTopLevelFqn, getAllTypeNames, getContent, getModel, getModule, getPackage, getTypeNames, getTypesForFile, init, isDuplicate, isFileBacked, isPackage, isTopLevelType, isType, refreshedFile
doInit, doUninit, init, isInited, uninit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, enterPostJavaCompilation
compile, isSelfCompile, parse
getInterface
public static final java.lang.String EXTENSIONS_PACKAGE
public void init(IModule module)
init
in interface ITypeManifold
init
in class ResourceFileTypeManifold<Model>
public boolean handlesFileExtension(java.lang.String fileExtension)
handlesFileExtension
in interface IFileConnected
public ContributorKind getContributorKind()
getContributorKind
in interface ITypeManifold
getContributorKind
in class JavaTypeManifold<Model>
protected ResourceFileTypeManifold.CacheClearer createCacheClearer()
createCacheClearer
in class ResourceFileTypeManifold<Model>
public java.lang.String getTypeNameForFile(java.lang.String fqn, IFile file)
getTypeNameForFile
in class ResourceFileTypeManifold<Model>
public boolean handlesFile(IFile file)
handlesFile
in interface IFileConnected
handlesFile
in class ResourceFileTypeManifold<Model>
protected java.util.Set<java.lang.String> getAdditionalTypes(java.lang.String fqnForFile, IFile file)
getAdditionalTypes
in class ResourceFileTypeManifold<Model>
protected java.util.Map<java.lang.String,manifold.util.concurrent.LocklessLazyVar<Model>> getPeripheralTypes()
getPeripheralTypes
in class ResourceFileTypeManifold<Model>
public boolean isInnerType(java.lang.String topLevel, java.lang.String relativeInner)
isInnerType
in class ResourceFileTypeManifold<Model>
protected java.lang.String contribute(javax.tools.JavaFileManager.Location location, java.lang.String topLevelFqn, boolean genStubs, java.lang.String existing, Model model, javax.tools.DiagnosticListener<javax.tools.JavaFileObject> errorHandler)
contribute
in class ResourceFileTypeManifold<Model>
public void process(javax.lang.model.element.TypeElement typeElement, TypeProcessor typeProcessor, IssueReporter<javax.tools.JavaFileObject> issueReporter)
process
in interface ITypeProcessor
Copyright © 2024. All rights reserved.