public class ExtensionManifold extends JavaTypeManifold<Model> implements ITypeProcessor
ResourceFileTypeManifold.CacheClearer| Modifier and Type | Field and Description |
|---|---|
static String |
EXTENSIONS_PACKAGE |
ARG_DUMP_SOURCE| 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 ResourceFileTypeManifold.CacheClearer |
createCacheClearer() |
ContributorKind |
getContributorKind() |
protected Map<String,manifold.util.concurrent.LocklessLazyVar<Model>> |
getPeripheralTypes() |
String |
getTypeNameForFile(String fqn,
IFile file) |
boolean |
handlesFile(IFile file) |
boolean |
handlesFileExtension(String fileExtension) |
void |
init(IModule module) |
boolean |
isInnerType(String topLevel,
String relativeInner) |
void |
process(TypeElement typeElement,
TypeProcessor typeProcessor,
IssueReporter<JavaFileObject> issueReporter) |
getClassType, getSourceKindclear, contribute, findFilesForType, findTopLevelFqn, getAdditionalTypes, getAllTypeNames, getContent, getModel, getModule, getPackage, getTypeNames, getTypesForFile, init, isDuplicate, isPackage, isTopLevelType, isType, refreshedFiledoInit, doUninit, init, isInited, uninitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, enterPostJavaCompilationcompile, isSelfCompile, parsegetInterfacepublic static final String EXTENSIONS_PACKAGE
public void init(IModule module)
init in interface ITypeManifoldinit in class ResourceFileTypeManifold<Model>public boolean handlesFileExtension(String fileExtension)
handlesFileExtension in interface IFileConnectedpublic ContributorKind getContributorKind()
getContributorKind in interface ITypeManifoldgetContributorKind in class JavaTypeManifold<Model>protected ResourceFileTypeManifold.CacheClearer createCacheClearer()
createCacheClearer in class ResourceFileTypeManifold<Model>public String getTypeNameForFile(String fqn, IFile file)
getTypeNameForFile in class ResourceFileTypeManifold<Model>public boolean handlesFile(IFile file)
handlesFile in interface IFileConnectedhandlesFile in class ResourceFileTypeManifold<Model>protected Map<String,manifold.util.concurrent.LocklessLazyVar<Model>> getPeripheralTypes()
getPeripheralTypes in class ResourceFileTypeManifold<Model>public boolean isInnerType(String topLevel, String relativeInner)
isInnerType in class ResourceFileTypeManifold<Model>protected String contribute(JavaFileManager.Location location, String topLevelFqn, boolean genStubs, String existing, Model model, DiagnosticListener<JavaFileObject> errorHandler)
contribute in class ResourceFileTypeManifold<Model>public void process(TypeElement typeElement, TypeProcessor typeProcessor, IssueReporter<JavaFileObject> issueReporter)
process in interface ITypeProcessorCopyright © 2020. All rights reserved.