Package manifold.graphql.type
Class GqlManifold
- java.lang.Object
-
- manifold.api.service.BaseService
-
- manifold.api.type.ResourceFileTypeManifold<M>
-
- manifold.api.type.JavaTypeManifold<GqlModel>
-
- manifold.graphql.type.GqlManifold
-
- 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 GqlManifold extends manifold.api.type.JavaTypeManifold<GqlModel>
-
-
Constructor Summary
Constructors Constructor Description GqlManifold()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Stringcontribute(JavaFileManager.Location location, String topLevelFqn, boolean genStubs, String existing, GqlModel model, DiagnosticListener<JavaFileObject> errorHandler)<R> Stream<R>findAllByModel(Function<GqlModel,R> byModel)<R> RfindByModel(Function<GqlModel,R> byModel)protected GqlModelgetModel(String fqn)Override so that getModel() can be called within this package (see GqlScope)GqlScopeFindergetScopeFinder()booleanhandlesFileExtension(String fileExtension)voidinit(manifold.api.host.IModule module)booleanisInnerType(String topLevel, String relativeInner)-
Methods inherited from class manifold.api.type.JavaTypeManifold
getClassType, getContributorKind, getSourceKind
-
Methods inherited from class manifold.api.type.ResourceFileTypeManifold
clear, contribute, createCacheClearer, findFilesForType, findTopLevelFqn, getAdditionalTypes, getAllTypeNames, getContent, getModule, getPackage, getPeripheralTypes, getTypeNameForFile, getTypeNames, getTypesForFile, handlesFile, init, isDuplicate, isFileBacked, isPackage, isTopLevelType, isType, refreshedFile
-
Methods inherited from class manifold.api.service.BaseService
doInit, doUninit, init, isInited, uninit
-
-
-
-
Method Detail
-
init
public void init(manifold.api.host.IModule module)
- Specified by:
initin interfacemanifold.api.type.ITypeManifold- Overrides:
initin classmanifold.api.type.ResourceFileTypeManifold<GqlModel>
-
getScopeFinder
public GqlScopeFinder getScopeFinder()
-
handlesFileExtension
public boolean handlesFileExtension(String fileExtension)
-
isInnerType
public boolean isInnerType(String topLevel, String relativeInner)
- Specified by:
isInnerTypein classmanifold.api.type.ResourceFileTypeManifold<GqlModel>
-
getModel
protected GqlModel getModel(String fqn)
Override so that getModel() can be called within this package (see GqlScope)- Overrides:
getModelin classmanifold.api.type.ResourceFileTypeManifold<GqlModel>
-
contribute
protected String contribute(JavaFileManager.Location location, String topLevelFqn, boolean genStubs, String existing, GqlModel model, DiagnosticListener<JavaFileObject> errorHandler)
- Specified by:
contributein classmanifold.api.type.ResourceFileTypeManifold<GqlModel>
-
-