java.lang.Object
dev.lukebemish.bytecodebuilder.Constants
-
Method Summary
Modifier and TypeMethodDescriptionstatic DynamicConstantDesc<?> arrayVarHandle(ClassDesc descriptor) static DynamicConstantDesc<?> cast(ConstantDesc value, ClassDesc type) static DynamicConstantDesc<?> static DynamicConstantDesc<?> classDataAt(ClassDesc descriptor, ConstantDesc index) static DynamicConstantDesc<?> enumConstant(ClassDesc type, String name) static DynamicConstantDesc<?> fieldVarHandle(ClassDesc owner, String name, ClassDesc descriptor) static ClassDescstatic ConstantDescstatic MethodHandleDescfrom(MethodHandle handle) static MethodTypeDescfrom(MethodType type) static DynamicConstantDesc<?> invokeConstant(ClassDesc descriptor, ConstantDesc handle, ConstantDesc... args) static DynamicConstantDesc<?> nullConstant(ClassDesc descriptor) static intstatic DynamicConstantDesc<?> staticFieldVarHandle(ClassDesc owner, String name, ClassDesc descriptor) static DynamicConstantDesc<?> staticFinalConstant(ClassDesc type, String name, ClassDesc descriptor)
-
Method Details
-
cast
-
classData
-
classDataAt
-
nullConstant
-
enumConstant
-
staticFinalConstant
public static DynamicConstantDesc<?> staticFinalConstant(ClassDesc type, String name, ClassDesc descriptor) -
invokeConstant
public static DynamicConstantDesc<?> invokeConstant(ClassDesc descriptor, ConstantDesc handle, ConstantDesc... args) -
fieldVarHandle
public static DynamicConstantDesc<?> fieldVarHandle(ClassDesc owner, String name, ClassDesc descriptor) -
staticFieldVarHandle
public static DynamicConstantDesc<?> staticFieldVarHandle(ClassDesc owner, String name, ClassDesc descriptor) -
arrayVarHandle
-
from
-
from
-
from
-
from
-
sizeOf
-