public class TemplateManifold extends manifold.api.type.JavaTypeManifold<manifold.templates.manifold.TemplateModel>
manifold.api.type.ResourceFileTypeManifold.CacheClearer
ARG_DUMP_SOURCE
Constructor and Description |
---|
TemplateManifold() |
Modifier and Type | Method and Description |
---|---|
protected String |
contribute(JavaFileManager.Location location,
String topLevelFqn,
boolean genStubs,
String existing,
manifold.templates.manifold.TemplateModel model,
DiagnosticListener<JavaFileObject> errorHandler) |
String |
getTypeNameForFile(String fqn,
manifold.api.fs.IFile file)
Remove the content extension e.g., com.abc.Foo_html -> com.abc.Foo
|
boolean |
handlesFile(manifold.api.fs.IFile file) |
boolean |
handlesFileExtension(String fileExtension) |
void |
init(manifold.api.host.IModule module) |
boolean |
isInnerType(String topLevelFqn,
String relativeInner) |
getClassType, getContributorKind, getSourceKind
clear, contribute, createCacheClearer, findFilesForType, findTopLevelFqn, getAdditionalTypes, getAllTypeNames, getContent, getModel, getModule, getPackage, getPeripheralTypes, getTypeNames, getTypesForFile, init, isDuplicate, isFileBacked, isPackage, isTopLevelType, isType, refreshedFile
doInit, doUninit, init, isInited, uninit
clone, emptyArray, equals, finalize, getClass, hashCode, jailbreak, notify, notifyAll, toString, wait, wait, wait
accept, enterPostJavaCompilation
compile, isSelfCompile, parse
getInterface
public void init(manifold.api.host.IModule module)
init
in interface manifold.api.type.ITypeManifold
init
in class manifold.api.type.ResourceFileTypeManifold<manifold.templates.manifold.TemplateModel>
public String getTypeNameForFile(String fqn, manifold.api.fs.IFile file)
public boolean isInnerType(String topLevelFqn, String relativeInner)
isInnerType
in class manifold.api.type.ResourceFileTypeManifold<manifold.templates.manifold.TemplateModel>
public boolean handlesFileExtension(String fileExtension)
public boolean handlesFile(manifold.api.fs.IFile file)
handlesFile
in interface manifold.api.type.IFileConnected
handlesFile
in class manifold.api.type.ResourceFileTypeManifold<manifold.templates.manifold.TemplateModel>
protected String contribute(JavaFileManager.Location location, String topLevelFqn, boolean genStubs, String existing, manifold.templates.manifold.TemplateModel model, DiagnosticListener<JavaFileObject> errorHandler)
contribute
in class manifold.api.type.ResourceFileTypeManifold<manifold.templates.manifold.TemplateModel>
Copyright © 2024. All rights reserved.