public class TypeModule
extends java.lang.Object
| Constructor and Description |
|---|
TypeModule() |
TypeModule(java.util.Collection<Type> types) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Type> |
getAllTypes() |
java.util.Collection<ConstantParam> |
getConstants() |
Type |
getConstantType(java.lang.String constant) |
java.util.List<Type> |
getListOfAllTypes() |
Type |
getType(java.lang.String nameOfType) |
void |
merge(TypeModule typeModule) |
void |
setConstantType(java.lang.String constant,
Type type) |
int |
size() |
java.lang.String |
toString() |
public TypeModule()
public TypeModule(java.util.Collection<Type> types)
public Type getType(java.lang.String nameOfType)
public int size()
public java.util.Collection<Type> getAllTypes()
public java.util.List<Type> getListOfAllTypes()
public void merge(TypeModule typeModule)
public java.lang.String toString()
toString in class java.lang.Objectpublic void setConstantType(java.lang.String constant,
Type type)
public Type getConstantType(java.lang.String constant)
public java.util.Collection<ConstantParam> getConstants()