Deprecated
Warning
This class is for internal use only. Do not use it outside of the org.codehaus.groovy.vmplugin.v7 package of groovy-core.
| Modifier and Type | Field and Description |
|---|---|
| private static final MethodType | |
| private static final MethodType | |
| private static final MethodType | |
| private static final MethodType | |
| private static final MethodType | |
| private static final MethodType | |
| private static final MethodType | |
| private static final MethodType | |
| private static final MethodType | |
| private static final MethodType | |
| private static final MethodType | |
| private static final MethodType | |
| private static final MethodType | |
| private static final MethodType | |
| private static final Map | |
| private static final MethodType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static long | |
| public static boolean | chooseMathMethod(Selector info, MetaMethod metaMethod)
Deprecated
as a consequence of
Choose a method to replace the originally chosen metaMethod to have a
more efficient call path.
Selector being deprecated.
|
| public static double | |
| public static int | |
| public static long | |
| private static void | |
| public static int | |
| public static long | |
| public static double | |
| public static int | |
| public static long | |
| public static int | |
| public static long | |
| public static double | |
| public static int | |
| public static long | |
| public static double | |
| public static int | |
| public static long | |
| public static int | |
| public static long | |
| public static double | |
| public static int | |
| public static long | |
| public static double | |
| public static int | |
| public static long | |
| private static MethodType | |
| public static int | |
| public static long |
| DD | back to summary |
|---|---|
| private static final MethodType DD | |
| DDD | back to summary |
|---|---|
| private static final MethodType DDD | |
| DDV | back to summary |
|---|---|
| private static final MethodType DDV | |
| DV | back to summary |
|---|---|
| private static final MethodType DV | |
| GGV | back to summary |
|---|---|
| private static final MethodType GGV | |
| GV | back to summary |
|---|---|
| private static final MethodType GV | |
| II | back to summary |
|---|---|
| private static final MethodType II | |
| III | back to summary |
|---|---|
| private static final MethodType III | |
| IIV | back to summary |
|---|---|
| private static final MethodType IIV | |
| IV | back to summary |
|---|---|
| private static final MethodType IV | |
| LL | back to summary |
|---|---|
| private static final MethodType LL | |
| LLL | back to summary |
|---|---|
| private static final MethodType LLL | |
| LLV | back to summary |
|---|---|
| private static final MethodType LLV | |
| LV | back to summary |
|---|---|
| private static final MethodType LV | |
| METHODS | back to summary |
|---|---|
| private static final Map<String, Map<MethodType, MethodHandle>> METHODS | |
| OOV | back to summary |
|---|---|
| private static final MethodType OOV | |
| IndyMath | back to summary |
|---|---|
| public IndyMath() | |
| and | back to summary |
|---|---|
| public static int and(int a, int b) | |
| and | back to summary |
|---|---|
| public static long and(long a, long b) | |
| chooseMathMethod | back to summary |
|---|---|
| public static boolean chooseMathMethod(Selector info, MetaMethod metaMethod)
Deprecated as a consequence of Choose a method to replace the originally chosen metaMethod to have a more efficient call path. | |
| div | back to summary |
|---|---|
| public static double div(double a, double b) | |
| leftShift | back to summary |
|---|---|
| public static int leftShift(int a, int b) | |
| leftShift | back to summary |
|---|---|
| public static long leftShift(long a, long b) | |
| makeMapEntry | back to summary |
|---|---|
| private static void makeMapEntry(String method, MethodType[] keys, MethodType[] values) throws NoSuchMethodException, IllegalAccessException | |
| minus | back to summary |
|---|---|
| public static int minus(int a, int b) | |
| minus | back to summary |
|---|---|
| public static long minus(long a, long b) | |
| minus | back to summary |
|---|---|
| public static double minus(double a, double b) | |
| mod | back to summary |
|---|---|
| public static int mod(int a, int b) | |
| mod | back to summary |
|---|---|
| public static long mod(long a, long b) | |
| multiply | back to summary |
|---|---|
| public static int multiply(int a, int b) | |
| multiply | back to summary |
|---|---|
| public static long multiply(long a, long b) | |
| multiply | back to summary |
|---|---|
| public static double multiply(double a, double b) | |
| next | back to summary |
|---|---|
| public static int next(int i) | |
| next | back to summary |
|---|---|
| public static long next(long l) | |
| next | back to summary |
|---|---|
| public static double next(double d) | |
| or | back to summary |
|---|---|
| public static int or(int a, int b) | |
| or | back to summary |
|---|---|
| public static long or(long a, long b) | |
| plus | back to summary |
|---|---|
| public static int plus(int a, int b) | |
| plus | back to summary |
|---|---|
| public static long plus(long a, long b) | |
| plus | back to summary |
|---|---|
| public static double plus(double a, double b) | |
| previous | back to summary |
|---|---|
| public static int previous(int i) | |
| previous | back to summary |
|---|---|
| public static long previous(long l) | |
| previous | back to summary |
|---|---|
| public static double previous(double d) | |
| rightShift | back to summary |
|---|---|
| public static int rightShift(int a, int b) | |
| rightShift | back to summary |
|---|---|
| public static long rightShift(long a, long b) | |
| widenOperators | back to summary |
|---|---|
| private static MethodType widenOperators(MethodType mt) Widens the operators. For math operations like a+b we generally execute them using a conversion to certain types. If a for example is an int and b a byte, we do the operation using integer math. This method gives a simplified MethodType that contains the two operators with this widening according to Groovy rules applied. That means both parameters in the MethodType will have the same type. | |
| xor | back to summary |
|---|---|
| public static int xor(int a, int b) | |
| xor | back to summary |
|---|---|
| public static long xor(long a, long b) | |