|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcodesimian.Reflect
public class Reflect
Field Summary | |
---|---|
static java.lang.String[] |
actions
in function names, most common text that represents what the function does. |
static byte |
DELETE
1 of 4 types of ACTION |
static byte |
DOUBLE
1 of 3 types of QUANTITY. |
static byte |
GET
1 of 4 types of ACTION |
static byte |
INSERT
1 of 4 types of ACTION |
static byte |
INTMANY
1 of 3 types of QUANTITY |
static byte |
INTONE
1 of 3 types of QUANTITY |
static byte |
SET
1 of 4 types of ACTION |
Constructor Summary | |
---|---|
Reflect()
|
Method Summary | |
---|---|
static java.lang.String |
javaCodeForZeroOfPrimitiveType(java.lang.Class primType)
examples: returns "0." for double.class and "false" for boolean.class |
static java.lang.String |
pathNameOfJavaCodeForClass(java.lang.String javaCodeForClass)
example: returns "codesimian/DefaultCS.java" if code contains "package codesimian; ... |
static java.lang.String |
simpleName(java.lang.Class type)
Name of a Class or primitive type with no array brackets. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String[] actions
public static final byte GET
public static final byte SET
public static final byte INSERT
public static final byte DELETE
public static final byte INTMANY
public static final byte INTONE
public static final byte DOUBLE
Constructor Detail |
---|
public Reflect()
Method Detail |
---|
public static java.lang.String simpleName(java.lang.Class type)
public static java.lang.String pathNameOfJavaCodeForClass(java.lang.String javaCodeForClass)
public static java.lang.String javaCodeForZeroOfPrimitiveType(java.lang.Class primType)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |