| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| private static interface |
| Modifier and Type | Field and Description |
|---|---|
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| public static final EmitUtils. | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature | |
| private static final Signature |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static void | append_string(final CodeEmitter e, Type type, final EmitUtils.
Deprecated
use
append_string(CodeEmitter, Type, ArrayDelimiters, CustomizerRegistry) instead
|
| public static void | append_string(final CodeEmitter e, Type type, final EmitUtils.
|
| private static void | append_string_helper(CodeEmitter e, Type type, EmitUtils.
|
| public static CodeEmitter | |
| public static CodeEmitter | |
| public static void | |
| public static void | |
| pack-priv static int[] | |
| private static void | |
| public static void | hash_code(CodeEmitter e, Type type, int multiplier, final Customizer customizer)
Deprecated
use
hash_code(CodeEmitter, Type, int, CustomizerRegistry) instead
|
| public static void | |
| private static void | |
| private static void | |
| private static void | |
| public static void | |
| private static void | |
| public static void | |
| public static void | |
| private static void | member_helper_size(final CodeEmitter e, List<E> members, final ObjectSwitchCallback callback, final EmitUtils.
|
| private static void | member_helper_type(final CodeEmitter e, List<E> members, final ObjectSwitchCallback callback, final EmitUtils.
|
| private static void | member_switch_helper(final CodeEmitter e, List<E> members, final ObjectSwitchCallback callback, boolean useName)
|
| public static void | |
| public static void | not_equals(CodeEmitter e, Type type, final Label notEquals, final Customizer customizer)
Deprecated
use
not_equals(CodeEmitter, Type, Label, CustomizerRegistry) instead
|
| public static void | not_equals(final CodeEmitter e, Type type, final Label notEquals, final CustomizerRegistry registry)
Branches to the specified label if the top two items on the stack are not equal. |
| private static void | not_equals_helper(CodeEmitter e, Type type, Label notEquals, CustomizerRegistry registry, ProcessArrayCallback callback)
|
| public static void | |
| private static void | nullcmp(CodeEmitter e, Label
label to branch to if only one of the objects is null oneNull, Label label to branch to if both of the objects are null bothNull)If both objects on the top of the stack are non-null, does nothing. |
| public static void | process_array(CodeEmitter e, Type
the type of the array (type.isArray() must be true) type, ProcessArrayCallback the callback triggered for each element callback)Process an array on the stack. |
| public static void | process_arrays(CodeEmitter e, Type
the type of the arrays (type.isArray() must be true) type, ProcessArrayCallback the callback triggered for each pair of elements callback)Process two arrays on the stack in parallel. |
| public static void | |
| public static void | |
| private static Class | |
| private static void | |
| public static void | |
| private static void | string_switch_hash(final CodeEmitter e, final String[] strings, final ObjectSwitchCallback callback, final boolean skipEquals)
|
| private static void | |
| private static void | stringSwitchHelper(final CodeEmitter e, List<E> strings, final ObjectSwitchCallback callback, final Label def, final Label end, final int index)
|
| public static void | |
| public static void |
| APPEND_BOOLEAN | back to summary |
|---|---|
| private static final Signature APPEND_BOOLEAN | |
| APPEND_CHAR | back to summary |
|---|---|
| private static final Signature APPEND_CHAR | |
| APPEND_DOUBLE | back to summary |
|---|---|
| private static final Signature APPEND_DOUBLE | |
| APPEND_FLOAT | back to summary |
|---|---|
| private static final Signature APPEND_FLOAT | |
| APPEND_INT | back to summary |
|---|---|
| private static final Signature APPEND_INT | |
| APPEND_LONG | back to summary |
|---|---|
| private static final Signature APPEND_LONG | |
| APPEND_STRING | back to summary |
|---|---|
| private static final Signature APPEND_STRING | |
| CSTRUCT_NULL | back to summary |
|---|---|
| private static final Signature CSTRUCT_NULL | |
| CSTRUCT_THROWABLE | back to summary |
|---|---|
| private static final Signature CSTRUCT_THROWABLE | |
| DEFAULT_DELIMITERS | back to summary |
|---|---|
| public static final EmitUtils. | |
| DOUBLE_TO_LONG_BITS | back to summary |
|---|---|
| private static final Signature DOUBLE_TO_LONG_BITS | |
| EQUALS | back to summary |
|---|---|
| private static final Signature EQUALS | |
| FLOAT_TO_INT_BITS | back to summary |
|---|---|
| private static final Signature FLOAT_TO_INT_BITS | |
| FOR_NAME | back to summary |
|---|---|
| private static final Signature FOR_NAME | |
| GET_DECLARED_METHOD | back to summary |
|---|---|
| private static final Signature GET_DECLARED_METHOD | |
| GET_NAME | back to summary |
|---|---|
| private static final Signature GET_NAME | |
| HASH_CODE | back to summary |
|---|---|
| private static final Signature HASH_CODE | |
| LENGTH | back to summary |
|---|---|
| private static final Signature LENGTH | |
| SET_LENGTH | back to summary |
|---|---|
| private static final Signature SET_LENGTH | |
| STRING_CHAR_AT | back to summary |
|---|---|
| private static final Signature STRING_CHAR_AT | |
| STRING_LENGTH | back to summary |
|---|---|
| private static final Signature STRING_LENGTH | |
| TO_STRING | back to summary |
|---|---|
| private static final Signature TO_STRING | |
| EmitUtils | back to summary |
|---|---|
| private EmitUtils() | |
| add_properties | back to summary |
|---|---|
| public static void add_properties(ClassEmitter ce, String[] names, Type[] types) | |
| add_property | back to summary |
|---|---|
| public static void add_property(ClassEmitter ce, String name, Type type, String fieldName) | |
| append_string | back to summary |
|---|---|
| public static void append_string(final CodeEmitter e, Type type, final EmitUtils. Deprecated use
| |
| append_string | back to summary |
|---|---|
| public static void append_string(final CodeEmitter e, Type type, final EmitUtils. | |
| append_string_helper | back to summary |
|---|---|
| private static void append_string_helper(CodeEmitter e, Type type, EmitUtils. | |
| begin_method | back to summary |
|---|---|
| public static CodeEmitter begin_method(ClassEmitter e, MethodInfo method) | |
| begin_method | back to summary |
|---|---|
| public static CodeEmitter begin_method(ClassEmitter e, MethodInfo method, int access) | |
| constructor_switch | back to summary |
|---|---|
| public static void constructor_switch(CodeEmitter e, List<E> constructors, ObjectSwitchCallback callback) | |
| factory_method | back to summary |
|---|---|
| public static void factory_method(ClassEmitter ce, Signature sig) | |
| getSwitchKeys | back to summary |
|---|---|
| pack-priv static int[] getSwitchKeys(Map<K, V> buckets) | |
| hash_array | back to summary |
|---|---|
| private static void hash_array(final CodeEmitter e, Type type, final int multiplier, final CustomizerRegistry registry) | |
| hash_code | back to summary |
|---|---|
| public static void hash_code(CodeEmitter e, Type type, int multiplier, final Customizer customizer)
Deprecated use
| |
| hash_code | back to summary |
|---|---|
| public static void hash_code(CodeEmitter e, Type type, int multiplier, final CustomizerRegistry registry) | |
| hash_long | back to summary |
|---|---|
| private static void hash_long(CodeEmitter e) | |
| hash_object | back to summary |
|---|---|
| private static void hash_object(CodeEmitter e, Type type, CustomizerRegistry registry) | |
| hash_primitive | back to summary |
|---|---|
| private static void hash_primitive(CodeEmitter e, Type type) | |
| load_class | back to summary |
|---|---|
| public static void load_class(CodeEmitter e, Type type) | |
| load_class_helper | back to summary |
|---|---|
| private static void load_class_helper(CodeEmitter e, final Type type) | |
| load_class_this | back to summary |
|---|---|
| public static void load_class_this(CodeEmitter e) | |
| load_method | back to summary |
|---|---|
| public static void load_method(CodeEmitter e, MethodInfo method) | |
| member_helper_size | back to summary |
|---|---|
| private static void member_helper_size(final CodeEmitter e, List<E> members, final ObjectSwitchCallback callback, final EmitUtils. | |
| member_helper_type | back to summary |
|---|---|
| private static void member_helper_type(final CodeEmitter e, List<E> members, final ObjectSwitchCallback callback, final EmitUtils. | |
| member_switch_helper | back to summary |
|---|---|
| private static void member_switch_helper(final CodeEmitter e, List<E> members, final ObjectSwitchCallback callback, boolean useName) | |
| method_switch | back to summary |
|---|---|
| public static void method_switch(CodeEmitter e, List<E> methods, ObjectSwitchCallback callback) | |
| not_equals | back to summary |
|---|---|
| public static void not_equals(CodeEmitter e, Type type, final Label notEquals, final Customizer customizer)
Deprecated use
| |
| not_equals | back to summary |
|---|---|
| public static void not_equals(final CodeEmitter e, Type type, final Label notEquals, final CustomizerRegistry registry) Branches to the specified label if the top two items on the stack
are not equal. The items must both be of the specified
class. Equality is determined by comparing primitive values
directly and by invoking the | |
| not_equals_helper | back to summary |
|---|---|
| private static void not_equals_helper(CodeEmitter e, Type type, Label notEquals, CustomizerRegistry registry, ProcessArrayCallback callback) | |
| null_constructor | back to summary |
|---|---|
| public static void null_constructor(ClassEmitter ce) | |
| nullcmp | back to summary |
|---|---|
| private static void nullcmp(CodeEmitter e, Label oneNull, Label bothNull) If both objects on the top of the stack are non-null, does nothing. If one is null, or both are null, both are popped off and execution branches to the respective label. | |
| process_array | back to summary |
|---|---|
| public static void process_array(CodeEmitter e, Type type, ProcessArrayCallback callback) Process an array on the stack. Assumes the top item on the stack is an array of the specified type. For each element in the array, puts the element on the stack and triggers the callback.
| |
| process_arrays | back to summary |
|---|---|
| public static void process_arrays(CodeEmitter e, Type type, ProcessArrayCallback callback) Process two arrays on the stack in parallel. Assumes the top two items on the stack are arrays of the specified class. The arrays must be the same length. For each pair of elements in the arrays, puts the pair on the stack and triggers the callback.
| |
| push_array | back to summary |
|---|---|
| public static void push_array(CodeEmitter e, Object[] array) | |
| push_object | back to summary |
|---|---|
| public static void push_object(CodeEmitter e, Object obj) | |
| remapComponentType | back to summary |
|---|---|
| private static Class | |
| shrinkStringBuffer | back to summary |
|---|---|
| private static void shrinkStringBuffer(CodeEmitter e, int amt) | |
| string_switch | back to summary |
|---|---|
| public static void string_switch(CodeEmitter e, String[] strings, int switchStyle, ObjectSwitchCallback callback) | |
| string_switch_hash | back to summary |
|---|---|
| private static void string_switch_hash(final CodeEmitter e, final String[] strings, final ObjectSwitchCallback callback, final boolean skipEquals) throws Exception | |
| string_switch_trie | back to summary |
|---|---|
| private static void string_switch_trie(final CodeEmitter e, String[] strings, final ObjectSwitchCallback callback) throws Exception | |
| stringSwitchHelper | back to summary |
|---|---|
| private static void stringSwitchHelper(final CodeEmitter e, List<E> strings, final ObjectSwitchCallback callback, final Label def, final Label end, final int index) throws Exception | |
| wrap_throwable | back to summary |
|---|---|
| public static void wrap_throwable(Block block, Type wrapper) | |
| wrap_undeclared_throwable | back to summary |
|---|---|
| public static void wrap_undeclared_throwable(CodeEmitter e, Block handler, Type[] exceptions, Type wrapper) | |
| Access | Constructor and Description |
|---|---|
| public |
| after | back to summary |
|---|---|
| private String after | |
| before | back to summary |
|---|---|
| private String before | |
| inside | back to summary |
|---|---|
| private String inside | |
| ArrayDelimiters | back to summary |
|---|---|
| public ArrayDelimiters(String before, String inside, String after) | |
| Modifier and Type | Method and Description |
|---|---|
| public Type[] |
| getParameterTypes | back to summary |
|---|---|
| public Type[] getParameterTypes(MethodInfo member) | |