#macro(print,$type) #set($string = "$type") #if($string.startsWith("class java.lang.") || $string.startsWith("class java.math.")) #set($string = $string.substring(16)) #end $string## #end #macro(cell,$type)$type#end #macro(check,$row,$col) #if($introspect.isStrictlyConvertible($row, $col)) #cell('strict') #elseif($introspect.isImplicitlyConvertible($row, $col)) #cell('implicit') #elseif($introspect.isExplicitlyConvertible($row, $col)) #cell('explicit') #else #cell('none') #end #end
provided → expected ↓ |
#foreach($col in $types)
#print($col) | #endnull | |
---|---|---|---|
#print($row) | #foreach($col in $types)#check($row,$col) | #end #if($row.isPrimitive())#cell('none') | #else#check($row, $null) | #end