ReferenceKind Enum

Definition

Specifies the kind of reference used to access a method handle's underlying member.

public enum ReferenceKind
type ReferenceKind = 
Inheritance
ReferenceKind

Fields

Name Value Description
Getfield 1

Reads an instance field.

Getstatic 2

Reads a static field.

Putfield 3

Writes an instance field.

Putstatic 4

Writes a static field.

Invokevirtual 5

Invokes a virtual method.

Invokestatic 6

Invokes a static method.

Invokespecial 7

Invokes a special method, such as a superclass method.

Newinvokespecial 8

Invokes a constructor.

Invokeinterface 9

Invokes an interface method.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to