public class CodegenUtils
extends java.lang.Object
Constructor and Description |
---|
CodegenUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
c(java.lang.String p)
Creates a dotted class name from a path/package name
|
static java.lang.String |
ci(java.lang.Class n)
Creates a class identifier of form Labc/abc;, from a Class.
|
static java.lang.String |
p(java.lang.Class n)
Creates a class path name, from a Class.
|
static java.lang.Class[] |
params(java.lang.Class... classes) |
static java.lang.Class[] |
params(java.lang.Class cls1,
java.lang.Class clsFill,
int times) |
static java.lang.Class[] |
params(java.lang.Class cls,
int times) |
static java.lang.String |
sig(java.lang.Class retval,
java.lang.Class... params)
Create a method signature from the given param types and return values
|
static java.lang.String |
sig(java.lang.Class retval,
java.lang.String descriptor,
java.lang.Class... params) |
static java.lang.String |
sigParams(java.lang.Class... params) |
static java.lang.String |
sigParams(java.lang.String descriptor,
java.lang.Class... params) |
public static java.lang.String c(java.lang.String p)
public static java.lang.String p(java.lang.Class n)
public static java.lang.String ci(java.lang.Class n)
public static java.lang.String sig(java.lang.Class retval, java.lang.Class... params)
public static java.lang.String sig(java.lang.Class retval, java.lang.String descriptor, java.lang.Class... params)
public static java.lang.String sigParams(java.lang.Class... params)
public static java.lang.String sigParams(java.lang.String descriptor, java.lang.Class... params)
public static java.lang.Class[] params(java.lang.Class... classes)
public static java.lang.Class[] params(java.lang.Class cls, int times)
public static java.lang.Class[] params(java.lang.Class cls1, java.lang.Class clsFill, int times)