| Package | Description |
|---|---|
| org.appops.tsgen.jackson.module | |
| org.appops.tsgen.jackson.module.grammar | |
| org.appops.tsgen.jackson.module.grammar.base | |
| org.appops.tsgen.jackson.module.visitors |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,AbstractType> |
Configuration.getCustomTypes() |
| Modifier and Type | Method and Description |
|---|---|
void |
Configuration.addArrayType(java.lang.Class<?> klass,
AbstractType tsType) |
Configuration |
Configuration.addType(java.lang.Class<?> klass,
AbstractType tsType)
Adds type into configuration.
|
void |
Configuration.addType(java.lang.String className,
AbstractType tsType)
Adds type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AnyType |
class |
ArrayType |
class |
BooleanType |
class |
ClassType |
class |
EnumType |
class |
FunctionType |
class |
MapType |
class |
NullType |
class |
NumberType |
class |
StaticClassType |
class |
StringType |
class |
VoidType |
| Modifier and Type | Method and Description |
|---|---|
AbstractType |
MapType.getKeyType() |
AbstractType |
FunctionType.getResultType() |
AbstractType |
MapType.getValueType() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,AbstractType> |
ClassType.getFields() |
java.util.LinkedHashMap<java.lang.String,AbstractType> |
FunctionType.getParameters() |
java.util.Map<java.lang.String,AbstractType> |
Module.getVars() |
| Modifier and Type | Method and Description |
|---|---|
void |
ArrayType.setItemType(AbstractType itemType) |
void |
MapType.setKeyType(AbstractType keyType) |
void |
FunctionType.setResultType(AbstractType resultType) |
void |
MapType.setValueType(AbstractType valueType) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassType.setFields(java.util.Map<java.lang.String,AbstractType> fields) |
| Constructor and Description |
|---|
ArrayType(AbstractType type) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNamedType
Type referenced by its name and capable of writing its own definition.
|
class |
AbstractPrimitiveType |
| Modifier and Type | Method and Description |
|---|---|
AbstractType |
Value.getType() |
| Constructor and Description |
|---|
Value(AbstractType type,
java.lang.Object value) |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseTsJsonFormatVisitor<T extends AbstractType>
Chained providers with a root parent holder keeping a map of already computed types.
|
| Modifier and Type | Field and Description |
|---|---|
protected T |
BaseTsJsonFormatVisitor.type |
| Modifier and Type | Method and Description |
|---|---|
static AbstractType |
TsJsonFormatVisitorWrapper.getTsTypeForHandler(BaseTsJsonFormatVisitor<?> baseVisitor,
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
com.fasterxml.jackson.databind.JavaType typeHint,
Configuration conf)
Visit recursively the type, or return a cached response.
|
protected AbstractType |
TsJsonObjectFormatVisitor.getTsTypeForProperty(com.fasterxml.jackson.databind.BeanProperty writer)
Fetches typescript type equivalent for property passed.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<com.fasterxml.jackson.databind.JavaType,AbstractType> |
BaseTsJsonFormatVisitor.getComputedTypes()
Fetches computed types.
|
Copyright © 2022. All rights reserved.