fr.umlv.tatoo.cc.tools.generator
Class ToolsGeneratorUtils
java.lang.Object
fr.umlv.tatoo.cc.tools.generator.ToolsGeneratorUtils
public class ToolsGeneratorUtils
- extends Object
|
Method Summary |
static
|
foreachNonNull(List<? extends VariableDecl> rhs,
Map<VariableDecl,Type> variableTypeMap,
ToolsGeneratorUtils.ParamClosure<V> closure,
V value)
|
static List<ParamDecl> |
getNonNullParameterList(List<? extends VariableDecl> rhs,
Map<VariableDecl,Type> variableTypeMap)
|
static List<ParamDecl> |
getNonNullParameterReverseList(List<? extends VariableDecl> rhs,
Map<VariableDecl,Type> variableTypeMap)
|
static boolean |
notAllNull(List<? extends VariableDecl> rhs,
Map<VariableDecl,Type> variableTypeMap)
|
static String |
toUpperCase(ObjectId object)
|
static String |
toUpperCase(String id)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toUpperCase
public static String toUpperCase(ObjectId object)
toUpperCase
public static String toUpperCase(String id)
foreachNonNull
public static <V> V foreachNonNull(List<? extends VariableDecl> rhs,
Map<VariableDecl,Type> variableTypeMap,
ToolsGeneratorUtils.ParamClosure<V> closure,
V value)
getNonNullParameterList
public static List<ParamDecl> getNonNullParameterList(List<? extends VariableDecl> rhs,
Map<VariableDecl,Type> variableTypeMap)
getNonNullParameterReverseList
public static List<ParamDecl> getNonNullParameterReverseList(List<? extends VariableDecl> rhs,
Map<VariableDecl,Type> variableTypeMap)
notAllNull
public static boolean notAllNull(List<? extends VariableDecl> rhs,
Map<VariableDecl,Type> variableTypeMap)