Uses of Interface java.lang.classfile.constantpool.MethodRefEntry (Java SE 23 & JDK 23)
Description: use: module: java.base, package: java.lang.classfile.constantpool, interface: MethodRefEntry

# Uses of Interface
java.lang.classfile.constantpool.MethodRefEntry

Packages that use MethodRefEntryPREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.constantpool
Provides interfaces describing classfile constant pool entries for the `java.lang.classfile`PREVIEW library.

- ## Uses of MethodRefEntryPREVIEW in java.lang.classfilePREVIEW

  Methods in java.lang.classfilePREVIEW with parameters of type MethodRefEntryPREVIEW
  Modifier and Type
  Method
  Description
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokespecial(MethodRefEntryPREVIEW ref)`
  Generate an instruction to invoke an instance method; direct invocation of instance initialization methods and methods of the current class and its supertypes
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokestatic(MethodRefEntryPREVIEW ref)`
  Generate an instruction to invoke a class (static) method
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokevirtual(MethodRefEntryPREVIEW ref)`
  Generate an instruction to invoke an instance method; dispatch based on class

- ## Uses of MethodRefEntryPREVIEW in java.lang.classfile.constantpoolPREVIEW

  Methods in java.lang.classfile.constantpoolPREVIEW that return MethodRefEntryPREVIEW
  Modifier and Type
  Method
  Description
  `MethodRefEntryPREVIEW`
  ConstantPoolBuilder.`methodRefEntry(ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType)`
  Returns A `MethodRefEntry`PREVIEW describing a method of a class.
  `default MethodRefEntryPREVIEW`
  ConstantPoolBuilder.`methodRefEntry(ClassDesc owner, String name, MethodTypeDesc type)`
  Returns A `MethodRefEntry`PREVIEW describing a method of a class.