public class RelativeByteBuddyIntArithmetic extends Object implements net.bytebuddy.implementation.Implementation
| Modifier and Type | Class and Description |
|---|---|
static class |
RelativeByteBuddyIntArithmetic.IntegerAddition |
static class |
RelativeByteBuddyIntArithmetic.IntegerDivision |
static class |
RelativeByteBuddyIntArithmetic.IntegerMod |
static class |
RelativeByteBuddyIntArithmetic.IntegerMultiplication |
static class |
RelativeByteBuddyIntArithmetic.IntegerSubtraction |
static class |
RelativeByteBuddyIntArithmetic.Operation |
net.bytebuddy.implementation.Implementation.Compound, net.bytebuddy.implementation.Implementation.Context, net.bytebuddy.implementation.Implementation.Simple, net.bytebuddy.implementation.Implementation.SpecialMethodInvocation, net.bytebuddy.implementation.Implementation.Target| Constructor and Description |
|---|
RelativeByteBuddyIntArithmetic(int val1,
int val2,
RelativeByteBuddyIntArithmetic.Operation op)
Initialize with 2 values
and an operation to do on them
|
| Modifier and Type | Method and Description |
|---|---|
net.bytebuddy.implementation.bytecode.ByteCodeAppender |
appender(net.bytebuddy.implementation.Implementation.Target implementationTarget) |
static net.bytebuddy.implementation.bytecode.StackManipulation[] |
div(int val1,
int val2)
Division operator between 2 ints
|
static net.bytebuddy.implementation.bytecode.StackManipulation[] |
mod(int val1,
int val2)
Modulus operator between 2 ints
|
static net.bytebuddy.implementation.bytecode.StackManipulation |
opFor(RelativeByteBuddyIntArithmetic.Operation operation)
Returns the proper stack manipulation
for the given operation
|
net.bytebuddy.dynamic.scaffold.InstrumentedType |
prepare(net.bytebuddy.dynamic.scaffold.InstrumentedType instrumentedType) |
static net.bytebuddy.implementation.bytecode.StackManipulation[] |
times(int val1,
int val2)
Multiplication operator between 2 ints
|
public RelativeByteBuddyIntArithmetic(int val1,
int val2,
RelativeByteBuddyIntArithmetic.Operation op)
val1 - val2 - op - public static net.bytebuddy.implementation.bytecode.StackManipulation opFor(RelativeByteBuddyIntArithmetic.Operation operation)
operation - the arithmetic operation to dopublic net.bytebuddy.dynamic.scaffold.InstrumentedType prepare(net.bytebuddy.dynamic.scaffold.InstrumentedType instrumentedType)
prepare in interface net.bytebuddy.implementation.Implementationpublic net.bytebuddy.implementation.bytecode.ByteCodeAppender appender(net.bytebuddy.implementation.Implementation.Target implementationTarget)
appender in interface net.bytebuddy.implementation.Implementationpublic static net.bytebuddy.implementation.bytecode.StackManipulation[] mod(int val1,
int val2)
val1 - val2 - public static net.bytebuddy.implementation.bytecode.StackManipulation[] div(int val1,
int val2)
val1 - val2 - public static net.bytebuddy.implementation.bytecode.StackManipulation[] times(int val1,
int val2)
val1 - val2 - Copyright © 2015. All Rights Reserved.