public class Configuration
extends java.lang.Object
| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addArrayType(java.lang.Class<?> klass,
AbstractType tsType) |
void |
addIngoredMethod(java.lang.String name) |
Configuration |
addType(java.lang.Class<?> klass,
AbstractType tsType)
Adds type into configuration.
|
void |
addType(java.lang.String className,
AbstractType tsType)
Adds type.
|
java.util.Map<java.lang.String,AbstractType> |
getCustomTypes() |
TsTypeNamingStrategy |
getNamingStrategy() |
boolean |
isIgnoredMethod(java.lang.reflect.Method method)
Checks if method is ignored or not.
|
void |
setNamingStrategy(TsTypeNamingStrategy namingStrategy) |
public java.util.Map<java.lang.String,AbstractType> getCustomTypes()
public Configuration addType(java.lang.Class<?> klass, AbstractType tsType)
klass - Class type to be added.tsType - Type script type to be added.public void addType(java.lang.String className,
AbstractType tsType)
className - Name of type to be added.tsType - Type script type to be added.public void addArrayType(java.lang.Class<?> klass,
AbstractType tsType)
public void addIngoredMethod(java.lang.String name)
public boolean isIgnoredMethod(java.lang.reflect.Method method)
method - Method to be checked.public TsTypeNamingStrategy getNamingStrategy()
public void setNamingStrategy(TsTypeNamingStrategy namingStrategy)
Copyright © 2022. All rights reserved.