public class TemplateManifold extends manifold.api.type.JavaTypeManifold<manifold.templates.manifold.TemplateModel>
manifold.api.type.ResourceFileTypeManifold.CacheClearerARG_DUMP_SOURCE| Constructor and Description |
|---|
TemplateManifold() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
contribute(javax.tools.JavaFileManager.Location location,
java.lang.String topLevelFqn,
boolean genStubs,
java.lang.String existing,
manifold.templates.manifold.TemplateModel model,
javax.tools.DiagnosticListener<javax.tools.JavaFileObject> errorHandler) |
java.lang.String |
getTypeNameForFile(java.lang.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(java.lang.String fileExtension) |
void |
init(manifold.api.host.IModule module) |
boolean |
isInnerType(java.lang.String topLevelFqn,
java.lang.String relativeInner) |
getClassType, getContributorKind, getSourceKindclear, contribute, createCacheClearer, findFilesForType, findTopLevelFqn, getAdditionalTypes, getAllTypeNames, getContent, getModel, getModule, getPackage, getPeripheralTypes, getTypeNames, getTypesForFile, init, isDuplicate, isFileBacked, isPackage, isTopLevelType, isType, refreshedFiledoInit, doUninit, init, isInited, uninitclone, emptyArray, equals, finalize, getClass, hashCode, jailbreak, notify, notifyAll, toString, wait, wait, waitaccept, enterPostJavaCompilationcompile, isSelfCompile, parsegetInterfacepublic void init(manifold.api.host.IModule module)
init in interface manifold.api.type.ITypeManifoldinit in class manifold.api.type.ResourceFileTypeManifold<manifold.templates.manifold.TemplateModel>public java.lang.String getTypeNameForFile(java.lang.String fqn,
manifold.api.fs.IFile file)
public boolean isInnerType(java.lang.String topLevelFqn,
java.lang.String relativeInner)
isInnerType in class manifold.api.type.ResourceFileTypeManifold<manifold.templates.manifold.TemplateModel>public boolean handlesFileExtension(java.lang.String fileExtension)
public boolean handlesFile(manifold.api.fs.IFile file)
handlesFile in interface manifold.api.type.IFileConnectedhandlesFile in class manifold.api.type.ResourceFileTypeManifold<manifold.templates.manifold.TemplateModel>protected java.lang.String contribute(javax.tools.JavaFileManager.Location location,
java.lang.String topLevelFqn,
boolean genStubs,
java.lang.String existing,
manifold.templates.manifold.TemplateModel model,
javax.tools.DiagnosticListener<javax.tools.JavaFileObject> errorHandler)
contribute in class manifold.api.type.ResourceFileTypeManifold<manifold.templates.manifold.TemplateModel>Copyright © 2023. All rights reserved.