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

Packages that use InterfaceMethodRefEntryPREVIEW
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 InterfaceMethodRefEntryPREVIEW in java.lang.classfilePREVIEW

  Methods in java.lang.classfilePREVIEW with parameters of type InterfaceMethodRefEntryPREVIEW
  Modifier and Type
  Method
  Description
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokeinterface(InterfaceMethodRefEntryPREVIEW ref)`
  Generate an instruction to invoke an interface method
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokespecial(InterfaceMethodRefEntryPREVIEW 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(InterfaceMethodRefEntryPREVIEW ref)`
  Generate an instruction to invoke a class (static) method

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

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