Class TupleTypeManifold

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

    public class TupleTypeManifold
    extends manifold.api.service.BaseService
    implements manifold.api.type.ITypeManifold
    Tuples
    • Constructor Detail

      • TupleTypeManifold

        public TupleTypeManifold()
    • Method Detail

      • init

        public void init​(manifold.api.host.IModule module)
        Specified by:
        init in interface manifold.api.type.ITypeManifold
      • getModule

        public manifold.api.host.IModule getModule()
        Specified by:
        getModule in interface manifold.api.type.ITypeManifold
      • getSourceKind

        public manifold.api.type.ISourceKind getSourceKind()
        Specified by:
        getSourceKind in interface manifold.api.type.ITypeManifold
      • getContributorKind

        public manifold.api.type.ContributorKind getContributorKind()
        Specified by:
        getContributorKind in interface manifold.api.type.ITypeManifold
      • isTopLevelType

        public boolean isTopLevelType​(String fqn)
        Specified by:
        isTopLevelType in interface manifold.api.type.ITypeManifold
      • getClassType

        public manifold.api.type.ClassType getClassType​(String fqn)
        Specified by:
        getClassType in interface manifold.api.type.ITypeManifold
      • findFilesForType

        public List<manifold.api.fs.IFile> findFilesForType​(String fqn)
        Specified by:
        findFilesForType in interface manifold.api.type.ITypeManifold
      • addEnclosingSourceFile

        public void addEnclosingSourceFile​(String fqn,
                                           URI sourceFile)
      • clear

        public void clear()
        Specified by:
        clear in interface manifold.api.type.ITypeManifold
      • isType

        public boolean isType​(String fqn)
        Specified by:
        isType in interface manifold.api.type.ITypeManifold
      • isPackage

        public boolean isPackage​(String pkg)
        Specified by:
        isPackage in interface manifold.api.type.ITypeManifold
      • getPackage

        public String getPackage​(String fqn)
        Specified by:
        getPackage in interface manifold.api.type.ITypeManifold
      • getAllTypeNames

        public Collection<String> getAllTypeNames()
        Specified by:
        getAllTypeNames in interface manifold.api.type.ITypeManifold
      • getTypeNames

        public Collection<manifold.api.type.TypeName> getTypeNames​(String namespace)
        Specified by:
        getTypeNames in interface manifold.api.type.ITypeManifold
      • handlesFileExtension

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

        public boolean handlesFile​(manifold.api.fs.IFile file)
        Specified by:
        handlesFile in interface manifold.api.type.IFileConnected
      • getTypesForFile

        public String[] getTypesForFile​(manifold.api.fs.IFile file)
        Specified by:
        getTypesForFile in interface manifold.api.type.IFileConnected
      • refreshedFile

        public manifold.api.host.RefreshKind refreshedFile​(manifold.api.fs.IFile file,
                                                           String[] types,
                                                           manifold.api.host.RefreshKind kind)
        Specified by:
        refreshedFile in interface manifold.api.type.IFileConnected