Package manifold.ext

Class ExtensionManifold

  • All Implemented Interfaces:
    manifold.api.service.IPluginHost, manifold.api.service.IService, manifold.api.type.IFileConnected, manifold.api.type.ISelfCompiled, manifold.api.type.ITypeManifold, manifold.api.type.ITypeProcessor

    public class ExtensionManifold
    extends manifold.api.type.JavaTypeManifold<Model>
    implements manifold.api.type.ITypeProcessor
    • Nested Class Summary

      • Nested classes/interfaces inherited from class manifold.api.type.ResourceFileTypeManifold

        manifold.api.type.ResourceFileTypeManifold.CacheClearer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String EXTENSIONS_PACKAGE  
      • Fields inherited from interface manifold.api.type.ITypeManifold

        ARG_DUMP_SOURCE
    • Constructor Detail

      • ExtensionManifold

        public ExtensionManifold()
    • Method Detail

      • init

        public void init​(manifold.api.host.IModule module)
        Specified by:
        init in interface manifold.api.type.ITypeManifold
        Overrides:
        init in class manifold.api.type.ResourceFileTypeManifold<Model>
      • handlesFileExtension

        public boolean handlesFileExtension​(String fileExtension)
        Specified by:
        handlesFileExtension in interface manifold.api.type.IFileConnected
      • getContributorKind

        public manifold.api.type.ContributorKind getContributorKind()
        Specified by:
        getContributorKind in interface manifold.api.type.ITypeManifold
        Overrides:
        getContributorKind in class manifold.api.type.JavaTypeManifold<Model>
      • createCacheClearer

        protected manifold.api.type.ResourceFileTypeManifold.CacheClearer createCacheClearer()
        Overrides:
        createCacheClearer in class manifold.api.type.ResourceFileTypeManifold<Model>
      • getTypeNameForFile

        public String getTypeNameForFile​(String fqn,
                                         manifold.api.fs.IFile file)
        Overrides:
        getTypeNameForFile in class manifold.api.type.ResourceFileTypeManifold<Model>
      • handlesFile

        public boolean handlesFile​(manifold.api.fs.IFile file)
        Specified by:
        handlesFile in interface manifold.api.type.IFileConnected
        Overrides:
        handlesFile in class manifold.api.type.ResourceFileTypeManifold<Model>
      • getAdditionalTypes

        protected Set<String> getAdditionalTypes​(String fqnForFile,
                                                 manifold.api.fs.IFile file)
        Overrides:
        getAdditionalTypes in class manifold.api.type.ResourceFileTypeManifold<Model>
      • getPeripheralTypes

        protected Map<String,​manifold.util.concurrent.LocklessLazyVar<Model>> getPeripheralTypes()
        Overrides:
        getPeripheralTypes in class manifold.api.type.ResourceFileTypeManifold<Model>
      • isInnerType

        public boolean isInnerType​(String topLevel,
                                   String relativeInner)
        Specified by:
        isInnerType in class manifold.api.type.ResourceFileTypeManifold<Model>
      • process

        public void process​(TypeElement typeElement,
                            manifold.internal.javac.TypeProcessor typeProcessor,
                            manifold.internal.javac.IssueReporter<JavaFileObject> issueReporter)
        Specified by:
        process in interface manifold.api.type.ITypeProcessor