com.googlecode.icegem.serialization.codegen
Class CodeGenUtils
java.lang.Object
com.googlecode.icegem.serialization.codegen.CodeGenUtils
public class CodeGenUtils
- extends Object
- Author:
- igolovach
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAB
public static String TAB
CodeGenUtils
public CodeGenUtils()
tab
public static String tab(String str)
tab
public static String tab(int tabCount,
String str)
firstLetterToUpperCase
public static String firstLetterToUpperCase(String fieldName)
firstLetterToLowerCase
public static String firstLetterToLowerCase(String fieldName)
className
public static String className(Class<?> clazz)
Integer[][].class -> "Integer[][]"
int[][].class -> "int[][]"
Naive: Integer[][].class.getName() -> "[[Ljava.lang.Integer;"
Naive: int[][].class.getName() -> "[[LI;"
Copyright © 2011. All Rights Reserved.