Package dev.lukebemish.bytecodebuilder
Class Constant
java.lang.Object
dev.lukebemish.bytecodebuilder.Constant
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConstantarrayVarHandle(Constant arrayType) static ConstantclassData(Descriptor descriptor) static ConstantclassDataAt(Descriptor descriptor, Constant index) static Constantdynamic(String name, Descriptor descriptor, ConstantHandle.ConstantMethodHandle bootstrap, Collection<Constant> arguments) dynamicCast(Descriptor target) static ConstantenumConstant(Descriptor descriptor, String name) static ConstantfieldVarHandle(Constant owner, Constant fieldType, String name) static ConstantinvokeConstant(Descriptor descriptor, Constant handle, Collection<Constant> arguments) static ConstantnullConstant(Descriptor descriptor) static Constantof(boolean value) static Constantof(byte value) static Constantof(char value) static Constantof(double value) static Constantof(float value) static Constantof(int value) static Constantof(long value) static Constantof(short value) static Constantof(ConstantHandle constantHandle) static Constantof(Descriptor descriptor) static Constantstatic Constantof(MethodType methodType) static Constantstatic Constantof(org.objectweb.asm.ConstantDynamic constantDynamic) static Constantof(org.objectweb.asm.Handle handle) static Constantof(org.objectweb.asm.Type type) static ConstantstaticFieldVarHandle(Constant owner, Constant fieldType, String name) static ConstantstaticFinalConstant(Constant owner, Descriptor descriptor, String name) value()
-
Method Details
-
value
-
dynamicCast
-
dynamic
public static Constant dynamic(String name, Descriptor descriptor, ConstantHandle.ConstantMethodHandle bootstrap, Collection<Constant> arguments) -
classData
-
classDataAt
-
nullConstant
-
enumConstant
-
staticFinalConstant
-
invokeConstant
public static Constant invokeConstant(Descriptor descriptor, Constant handle, Collection<Constant> arguments) -
fieldVarHandle
-
staticFieldVarHandle
-
arrayVarHandle
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-