Package | Description |
---|---|
net.bytebuddy.utility |
This package contains utility classes for common use within any Byte Buddy logic.
|
Modifier and Type | Method and Description |
---|---|
JavaConstant.MethodHandle.HandleType |
JavaConstant.MethodHandle.getHandleType()
Returns the handle type represented by this instance.
|
protected static JavaConstant.MethodHandle.HandleType |
JavaConstant.MethodHandle.HandleType.of(int identifier)
Extracts a handle type for the given identifier.
|
protected static JavaConstant.MethodHandle.HandleType |
JavaConstant.MethodHandle.HandleType.of(MethodDescription.InDefinedShape methodDescription)
Extracts a handle type for invoking the given method.
|
protected static JavaConstant.MethodHandle.HandleType |
JavaConstant.MethodHandle.HandleType.ofGetter(FieldDescription.InDefinedShape fieldDescription)
Extracts a handle type for a getter of the given field.
|
protected static JavaConstant.MethodHandle.HandleType |
JavaConstant.MethodHandle.HandleType.ofSetter(FieldDescription.InDefinedShape fieldDescription)
Extracts a handle type for a setter of the given field.
|
protected static JavaConstant.MethodHandle.HandleType |
JavaConstant.MethodHandle.HandleType.ofSpecial(MethodDescription.InDefinedShape methodDescription)
Extracts a handle type for invoking the given method via invokespecial.
|
static JavaConstant.MethodHandle.HandleType |
JavaConstant.MethodHandle.HandleType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaConstant.MethodHandle.HandleType[] |
JavaConstant.MethodHandle.HandleType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
MethodHandle(JavaConstant.MethodHandle.HandleType handleType,
TypeDescription ownerType,
String name,
TypeDescription returnType,
List<? extends TypeDescription> parameterTypes)
Creates a method handle representation.
|
Copyright © 2014–2017. All rights reserved.