Package mockit.asm.util
Class MethodHandle
java.lang.Object
mockit.asm.util.MethodHandle
A reference to a method.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String
The descriptor of the method designated by this handle.final String
The name of the method designated by this handle.final String
The internal name of the class that owns the method designated by this handle.final @org.checkerframework.checker.index.qual.NonNegative int
The kind of method designated by this handle. -
Constructor Summary
ConstructorsConstructorDescriptionMethodHandle
(@org.checkerframework.checker.index.qual.NonNegative int tag, String owner, String name, String desc) Initializes a new method handle. -
Method Summary
-
Field Details
-
tag
public final @org.checkerframework.checker.index.qual.NonNegative int tagThe kind of method designated by this handle. Should be one of theTag
constants. -
owner
The internal name of the class that owns the method designated by this handle. -
name
The name of the method designated by this handle. -
desc
The descriptor of the method designated by this handle.
-
-
Constructor Details
-
MethodHandle
public MethodHandle(@org.checkerframework.checker.index.qual.NonNegative int tag, @NonNull String owner, @NonNull String name, @NonNull String desc) Initializes a new method handle.- Parameters:
tag
- the kind of method designated by this handle. Must be one of theMethodHandle.Tag
constants.owner
- the internal name of the class that owns the method designated by this handle.name
- the name of the method designated by this handle.desc
- the descriptor of the method designated by this handle.
-
-
Method Details