All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gwtplatform.dispatch.rest.rebind.macros.vm Maven / Gradle / Ivy

There is a newer version: 1.6
Show newest version
#macro(commaIfNeeded $list)
#if($foreach.hasNext), #else#end
#end

#macro(printNull $element $value)
#set($null = "null")
#if($element)$value#else$null#end
#end

#macro(generateMethodSignature $parameters)
#foreach ($param in $parameters)

            $param.getParameterizedQualifiedName() $param.variableName#commaIfNeeded($parameters)#end
#end

#macro(generateAppendedMethodSignature $parameters)
#foreach ($param in $parameters),
            $param.getParameterizedQualifiedName() $param.variableName#end
#end

#macro(generateCallSignature $parameters)
#foreach ($param in $parameters)

                $param.variableName#commaIfNeeded($parameters)#end
#end

#macro(generateAppendedCallSignature $parameters)
#foreach ($param in $parameters),
                $param.variableName#end
#end

## TODO: Use `new ContentType(...)`. For now it's easier to reparse because of the parameters map
#macro(recreateContentType $contentType)
ContentType.valueOf("$contentType")#end




© 2015 - 2024 Weber Informatics LLC | Privacy Policy