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, getSourceKind
clear, contribute, findFilesForType, findTopLevelFqn, getAdditionalTypes, getAllTypeNames, getContent, getModel, getModule, getPackage, getTypeNames, getTypesForFile, init, isDuplicate, 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 String EXTENSIONS_PACKAGE
public void init(IModule module)
init
in interface ITypeManifold
init
in class ResourceFileTypeManifold<Model>
public boolean handlesFileExtension(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 String getTypeNameForFile(String fqn, IFile file)
getTypeNameForFile
in class ResourceFileTypeManifold<Model>
public boolean handlesFile(IFile file)
handlesFile
in interface IFileConnected
handlesFile
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 ITypeProcessor
Copyright © 2021. All rights reserved.