fr.umlv.tatoo.cc.tools.generator
Class ToolsGeneratorUtils

java.lang.Object
  extended by fr.umlv.tatoo.cc.tools.generator.ToolsGeneratorUtils

public class ToolsGeneratorUtils
extends Object


Nested Class Summary
static class ToolsGeneratorUtils.ParamClosure<V>
           
static class ToolsGeneratorUtils.VarParamClosure<V>
           
 
Method Summary
static
<V> V
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
 

Method Detail

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)