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.classfilePREVIEW library.Provides interfaces describing classfile constant pool entries for the
java.lang.classfilePREVIEW library.Provides interfaces describing code instructions for the
java.lang.classfilePREVIEW 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 anEnclosingMethodattribute. -
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 ANameAndTypeEntryPREVIEW describing the provided name and type.default NameAndTypeEntryPREVIEWConstantPoolBuilder.nameAndTypeEntry(String name, ClassDesc type) Returns ANameAndTypeEntryPREVIEW describing the provided name and type.default NameAndTypeEntryPREVIEWConstantPoolBuilder.nameAndTypeEntry(String name, MethodTypeDesc type) Returns ANameAndTypeEntryPREVIEW 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 AConstantDynamicEntryPREVIEW describing a dynamic constant.ConstantPoolBuilder.fieldRefEntry(ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType) Returns AFieldRefEntryPREVIEW describing a field of a class.ConstantPoolBuilder.interfaceMethodRefEntry(ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType) Returns AInterfaceMethodRefEntryPREVIEW describing a method of a class.ConstantPoolBuilder.invokeDynamicEntry(BootstrapMethodEntryPREVIEW bootstrapMethodEntry, NameAndTypeEntryPREVIEW nameAndType) Returns AnInvokeDynamicEntryPREVIEW describing a dynamic call site.ConstantPoolBuilder.methodRefEntry(ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType) Returns AMethodRefEntryPREVIEW 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 FieldInstructionPREVIEWFieldInstruction.of(OpcodePREVIEW op, ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType) Returns a field access instruction.static InvokeInstructionPREVIEWInvokeInstruction.of(OpcodePREVIEW op, ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType, boolean isInterface) Returns an invocation instruction.