public class ExtensionManifold extends manifold.api.type.JavaTypeManifold<Model> implements manifold.api.type.ITypeProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
EXTENSIONS_PACKAGE |
| Constructor and Description |
|---|
ExtensionManifold() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
contribute(JavaFileManager.Location location,
String topLevelFqn,
boolean genStubs,
String existing,
Model model,
DiagnosticListener<JavaFileObject> errorHandler) |
protected manifold.api.type.ResourceFileTypeManifold.CacheClearer |
createCacheClearer() |
protected Set<String> |
getAdditionalTypes(String fqnForFile,
manifold.api.fs.IFile file) |
manifold.api.type.ContributorKind |
getContributorKind() |
protected Map<String,manifold.util.concurrent.LocklessLazyVar<Model>> |
getPeripheralTypes() |
String |
getTypeNameForFile(String fqn,
manifold.api.fs.IFile file) |
boolean |
handlesFile(manifold.api.fs.IFile file) |
boolean |
handlesFileExtension(String fileExtension) |
void |
init(manifold.api.host.IModule module) |
boolean |
isInnerType(String topLevel,
String relativeInner) |
void |
process(TypeElement typeElement,
manifold.internal.javac.TypeProcessor typeProcessor,
manifold.internal.javac.IssueReporter<JavaFileObject> issueReporter) |
clear, contribute, findFilesForType, findTopLevelFqn, getAllTypeNames, getContent, getModel, getModule, getPackage, getTypeNames, getTypesForFile, init, isDuplicate, isFileBacked, isPackage, isTopLevelType, isType, refreshedFiledoInit, doUninit, init, isInited, uninitpublic static final String EXTENSIONS_PACKAGE
public void init(manifold.api.host.IModule module)
init in interface manifold.api.type.ITypeManifoldinit in class manifold.api.type.ResourceFileTypeManifold<Model>public boolean handlesFileExtension(String fileExtension)
handlesFileExtension in interface manifold.api.type.IFileConnectedpublic manifold.api.type.ContributorKind getContributorKind()
getContributorKind in interface manifold.api.type.ITypeManifoldgetContributorKind in class manifold.api.type.JavaTypeManifold<Model>protected manifold.api.type.ResourceFileTypeManifold.CacheClearer createCacheClearer()
createCacheClearer in class manifold.api.type.ResourceFileTypeManifold<Model>public String getTypeNameForFile(String fqn, manifold.api.fs.IFile file)
getTypeNameForFile in class manifold.api.type.ResourceFileTypeManifold<Model>public boolean handlesFile(manifold.api.fs.IFile file)
handlesFile in interface manifold.api.type.IFileConnectedhandlesFile in class manifold.api.type.ResourceFileTypeManifold<Model>protected Set<String> getAdditionalTypes(String fqnForFile, manifold.api.fs.IFile file)
getAdditionalTypes in class manifold.api.type.ResourceFileTypeManifold<Model>protected Map<String,manifold.util.concurrent.LocklessLazyVar<Model>> getPeripheralTypes()
getPeripheralTypes in class manifold.api.type.ResourceFileTypeManifold<Model>public boolean isInnerType(String topLevel, String relativeInner)
isInnerType in class manifold.api.type.ResourceFileTypeManifold<Model>protected String contribute(JavaFileManager.Location location, String topLevelFqn, boolean genStubs, String existing, Model model, DiagnosticListener<JavaFileObject> errorHandler)
contribute in class manifold.api.type.ResourceFileTypeManifold<Model>public void process(TypeElement typeElement, manifold.internal.javac.TypeProcessor typeProcessor, manifold.internal.javac.IssueReporter<JavaFileObject> issueReporter)
process in interface manifold.api.type.ITypeProcessorCopyright © 2024. All rights reserved.