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(String topLevelFqn,
String existing,
Model model,
DiagnosticListener<JavaFileObject> errorHandler) |
protected ResourceFileTypeManifold.CacheClearer |
createCacheClearer() |
ContributorKind |
getContributorKind() |
protected Map<String,manifold.util.concurrent.LocklessLazyVar<Model>> |
getPeripheralTypes() |
protected String |
getTypeNameForFile(String fqn,
IFile file) |
boolean |
handlesFile(IFile file) |
boolean |
handlesFileExtension(String fileExtension) |
void |
init(IModuleComponent typeLoader) |
boolean |
isInnerType(String topLevel,
String relativeInner) |
void |
process(TypeElement typeElement,
TypeProcessor typeProcessor,
IssueReporter<JavaFileObject> issueReporter) |
getClassType, getSourceKindclear, contribute, findFilesForType, findTopLevelFqn, getAdditionalTypes, getAllTypeNames, getContent, getInterface, getModel, getModule, getPackage, getTypeLoader, getTypeNames, getTypesForFile, init, init, isDuplicate, isPackage, isTopLevelType, isType, refreshedFilepublic static final String EXTENSIONS_PACKAGE
public void init(IModuleComponent typeLoader)
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>protected 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(String topLevelFqn, 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 © 2018. All rights reserved.