public abstract class AbstractJsonTypeManifold<T extends JsonModel>
extends manifold.api.type.JavaTypeManifold<T>
JsonModel e.g., parses its resource to a Bindings.
For instance, both the JSON and YAML manifolds extend this class because they both parse to a common Bindings
based model.| Constructor and Description |
|---|
AbstractJsonTypeManifold() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
contribute(JavaFileManager.Location location,
String topLevelFqn,
boolean genStubs,
String existing,
T model,
DiagnosticListener<JavaFileObject> errorHandler) |
protected boolean |
isApiInnerClass(String topLevel,
String relativeInner)
These inner classes are generated as part of the API, as opposed to being defined in JSON.
|
boolean |
isInnerType(String topLevel,
String relativeInner) |
getClassType, getContributorKind, getSourceKindclear, contribute, createCacheClearer, findFilesForType, findTopLevelFqn, getAdditionalTypes, getAllTypeNames, getContent, getModel, getModule, getPackage, getPeripheralTypes, getTypeNameForFile, getTypeNames, getTypesForFile, handlesFile, init, init, isDuplicate, isFileBacked, isPackage, isTopLevelType, isType, refreshedFiledoInit, doUninit, init, isInited, uninitprotected boolean isApiInnerClass(String topLevel, String relativeInner)
topLevel - The name of the enclosing class of relativeInnerrelativeInner - The name of an API inner class to test forrelativeInner is an inner class generated by the APIprotected String contribute(JavaFileManager.Location location, String topLevelFqn, boolean genStubs, String existing, T model, DiagnosticListener<JavaFileObject> errorHandler)
Copyright © 2024. All rights reserved.