1 54 package org.logicalcobwebs.cglib.core; 55 56 import org.logicalcobwebs.asm.Type; 57 58 62 public interface Constants extends org.logicalcobwebs.asm.Constants { 63 public static final Class [] EMPTY_CLASS_ARRAY = {}; 64 public static final Type[] TYPES_EMPTY = {}; 65 66 public static final Signature SIG_STATIC = 67 TypeUtils.parseSignature("void <clinit>()"); 68 69 public static final Type TYPE_OBJECT_ARRAY = TypeUtils.parseType("Object[]"); 70 public static final Type TYPE_CLASS_ARRAY = TypeUtils.parseType("Class[]"); 71 public static final Type TYPE_STRING_ARRAY = TypeUtils.parseType("String[]"); 72 73 public static final Type TYPE_OBJECT = TypeUtils.parseType("Object"); 74 public static final Type TYPE_CLASS = TypeUtils.parseType("Class"); 75 public static final Type TYPE_CHARACTER = TypeUtils.parseType("Character"); 76 public static final Type TYPE_BOOLEAN = TypeUtils.parseType("Boolean"); 77 public static final Type TYPE_DOUBLE = TypeUtils.parseType("Double"); 78 public static final Type TYPE_FLOAT = TypeUtils.parseType("Float"); 79 public static final Type TYPE_LONG = TypeUtils.parseType("Long"); 80 public static final Type TYPE_INTEGER = TypeUtils.parseType("Integer"); 81 public static final Type TYPE_SHORT = TypeUtils.parseType("Short"); 82 public static final Type TYPE_BYTE = TypeUtils.parseType("Byte"); 83 public static final Type TYPE_NUMBER = TypeUtils.parseType("Number"); 84 public static final Type TYPE_STRING = TypeUtils.parseType("String"); 85 public static final Type TYPE_THROWABLE = TypeUtils.parseType("Throwable"); 86 public static final Type TYPE_BIG_INTEGER = TypeUtils.parseType("java.math.BigInteger"); 87 public static final Type TYPE_BIG_DECIMAL = TypeUtils.parseType("java.math.BigDecimal"); 88 public static final Type TYPE_STRING_BUFFER = TypeUtils.parseType("StringBuffer"); 89 public static final Type TYPE_RUNTIME_EXCEPTION = TypeUtils.parseType("RuntimeException"); 90 public static final Type TYPE_ERROR = TypeUtils.parseType("Error"); 91 public static final Type TYPE_SYSTEM = TypeUtils.parseType("System"); 92 93 public static final String CONSTRUCTOR_NAME = "<init>"; 94 public static final String STATIC_NAME = "<clinit>"; 95 public static final String SOURCE_FILE = "<generated>"; 96 97 public static final int PRIVATE_FINAL_STATIC = ACC_PRIVATE | ACC_FINAL | ACC_STATIC; 98 99 public static final int SWITCH_STYLE_TRIE = 0; 100 public static final int SWITCH_STYLE_HASH = 1; 101 public static final int SWITCH_STYLE_HASHONLY = 2; 102 } 103 | Popular Tags |