Uses of Interface
java.lang.classfile.constantpool.NameAndTypeEntry
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile
PREVIEW library.Provides interfaces describing classfile constant pool entries for the
java.lang.classfile
PREVIEW library.Provides interfaces describing code instructions for the
java.lang.classfile
PREVIEW library.-
Uses of NameAndTypeEntryPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeMethodDescriptionClassReader.readNameAndTypeEntry
(int offset) Returns the name-and-type entry whose index is given at the specified offset within the classfile. -
Uses of NameAndTypeEntryPREVIEW in java.lang.classfile.attributePREVIEW
Modifier and TypeMethodDescriptionEnclosingMethodAttribute.enclosingMethod()
Returns the name and type of the enclosing method, if the class is immediately enclosed by a method or constructor.Modifier and TypeMethodDescriptionEnclosingMethodAttribute.of
(ClassEntryPREVIEW className, Optional<NameAndTypeEntryPREVIEW> method) Returns anEnclosingMethod
attribute. -
Uses of NameAndTypeEntryPREVIEW in java.lang.classfile.constantpoolPREVIEW
Modifier and TypeMethodDescriptionDynamicConstantPoolEntry.nameAndType()
Returns the invocation name and type.MemberRefEntry.nameAndType()
Returns the name and type of the member.ConstantPoolBuilder.nameAndTypeEntry
(Utf8EntryPREVIEW nameEntry, Utf8EntryPREVIEW typeEntry) Returns ANameAndTypeEntry
PREVIEW describing the provided name and type.default NameAndTypeEntryPREVIEW
ConstantPoolBuilder.nameAndTypeEntry
(String name, ClassDesc type) Returns ANameAndTypeEntry
PREVIEW describing the provided name and type.default NameAndTypeEntryPREVIEW
ConstantPoolBuilder.nameAndTypeEntry
(String name, MethodTypeDesc type) Returns ANameAndTypeEntry
PREVIEW describing the provided name and type.Modifier and TypeMethodDescriptionConstantPoolBuilder.constantDynamicEntry
(BootstrapMethodEntryPREVIEW bootstrapMethodEntry, NameAndTypeEntryPREVIEW nameAndType) Returns AConstantDynamicEntry
PREVIEW describing a dynamic constant.ConstantPoolBuilder.fieldRefEntry
(ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType) Returns AFieldRefEntry
PREVIEW describing a field of a class.ConstantPoolBuilder.interfaceMethodRefEntry
(ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType) Returns AInterfaceMethodRefEntry
PREVIEW describing a method of a class.ConstantPoolBuilder.invokeDynamicEntry
(BootstrapMethodEntryPREVIEW bootstrapMethodEntry, NameAndTypeEntryPREVIEW nameAndType) Returns AnInvokeDynamicEntry
PREVIEW describing a dynamic call site.ConstantPoolBuilder.methodRefEntry
(ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType) Returns AMethodRefEntry
PREVIEW describing a method of a class. -
Uses of NameAndTypeEntryPREVIEW in java.lang.classfile.instructionPREVIEW
Modifier and TypeMethodDescriptionstatic FieldInstructionPREVIEW
FieldInstruction.of
(OpcodePREVIEW op, ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType) Returns a field access instruction.static InvokeInstructionPREVIEW
InvokeInstruction.of
(OpcodePREVIEW op, ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType, boolean isInterface) Returns an invocation instruction.