public class JUtils extends Object
| Constructor and Description |
|---|
JUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
appendBlockComment(net.morimekta.util.io.IndentedPrintWriter writer,
String comment) |
static String |
camelCase(String name)
Format a prefixed name as camelCase.
|
static String |
camelCase(String prefix,
String name)
Format a prefixed name as camelCase.
|
static long |
generateSerialVersionUID(PStructDescriptor<?,?> type) |
static String |
getClassName(PDeclaredDescriptor<?> type) |
static String |
getClassName(PService service) |
static String |
getJavaPackage(net.morimekta.providence.reflect.contained.CDocument document) |
static String |
getPackageClassPath(String javaPackage) |
public static long generateSerialVersionUID(PStructDescriptor<?,?> type)
public static String getClassName(PDeclaredDescriptor<?> type)
public static String getJavaPackage(net.morimekta.providence.reflect.contained.CDocument document) throws GeneratorException
GeneratorExceptionpublic static String getPackageClassPath(String javaPackage) throws GeneratorException
GeneratorExceptionpublic static void appendBlockComment(net.morimekta.util.io.IndentedPrintWriter writer,
String comment)
public static String camelCase(String name)
name - The name to camel-case.public static String camelCase(String prefix, String name)
prefix - The prefix.name - The name to camel-case.Copyright © 2016. All rights reserved.