Uses of Interface
java.lang.classfile.constantpool.NameAndTypeEntry
Packages that use NameAndTypeEntryPREVIEW
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
Methods in java.lang.classfilePREVIEW that return NameAndTypeEntryPREVIEWModifier 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
Methods in java.lang.classfile.attributePREVIEW that return types with arguments of type NameAndTypeEntryPREVIEWModifier and TypeMethodDescriptionEnclosingMethodAttribute.enclosingMethod()
Returns the name and type of the enclosing method, if the class is immediately enclosed by a method or constructor.Method parameters in java.lang.classfile.attributePREVIEW with type arguments of type NameAndTypeEntryPREVIEWModifier and TypeMethodDescriptionEnclosingMethodAttribute.of
(ClassEntryPREVIEW className, Optional<NameAndTypeEntryPREVIEW> method) Returns anEnclosingMethod
attribute. -
Uses of NameAndTypeEntryPREVIEW in java.lang.classfile.constantpoolPREVIEW
Methods in java.lang.classfile.constantpoolPREVIEW that return NameAndTypeEntryPREVIEWModifier 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.Methods in java.lang.classfile.constantpoolPREVIEW with parameters of type NameAndTypeEntryPREVIEWModifier 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
Methods in java.lang.classfile.instructionPREVIEW with parameters of type NameAndTypeEntryPREVIEWModifier 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.