Uses of Interface
java.lang.classfile.constantpool.NameAndTypeEntry
Packages that use NameAndTypeEntry
Package
Description
Provides interfaces describing classfile attributes for the
java.lang.classfile
library.Provides interfaces describing classfile constant pool entries for the
java.lang.classfile
library.Provides interfaces describing code instructions for the
java.lang.classfile
library.-
Uses of NameAndTypeEntry in java.lang.classfile.attribute
Methods in java.lang.classfile.attribute that return types with arguments of type NameAndTypeEntryModifier 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.attribute with type arguments of type NameAndTypeEntryModifier and TypeMethodDescriptionstatic EnclosingMethodAttribute
EnclosingMethodAttribute.of
(ClassEntry className, Optional<NameAndTypeEntry> method) Returns anEnclosingMethod
attribute. -
Uses of NameAndTypeEntry in java.lang.classfile.constantpool
Methods in java.lang.classfile.constantpool that return NameAndTypeEntryModifier and TypeMethodDescriptionDynamicConstantPoolEntry.nameAndType()
Returns the invocation name and type.MemberRefEntry.nameAndType()
Returns the name and type of the member.ConstantPoolBuilder.nameAndTypeEntry
(Utf8Entry nameEntry, Utf8Entry typeEntry) Returns ANameAndTypeEntry
describing the provided name and type.default NameAndTypeEntry
ConstantPoolBuilder.nameAndTypeEntry
(String name, ClassDesc type) Returns ANameAndTypeEntry
describing the provided name and type.default NameAndTypeEntry
ConstantPoolBuilder.nameAndTypeEntry
(String name, MethodTypeDesc type) Returns ANameAndTypeEntry
describing the provided name and type.Methods in java.lang.classfile.constantpool with parameters of type NameAndTypeEntryModifier and TypeMethodDescriptionConstantPoolBuilder.constantDynamicEntry
(BootstrapMethodEntry bootstrapMethodEntry, NameAndTypeEntry nameAndType) Returns AConstantDynamicEntry
describing a dynamic constant.ConstantPoolBuilder.fieldRefEntry
(ClassEntry owner, NameAndTypeEntry nameAndType) Returns AFieldRefEntry
describing a field of a class.ConstantPoolBuilder.interfaceMethodRefEntry
(ClassEntry owner, NameAndTypeEntry nameAndType) Returns AInterfaceMethodRefEntry
describing a method of a class.ConstantPoolBuilder.invokeDynamicEntry
(BootstrapMethodEntry bootstrapMethodEntry, NameAndTypeEntry nameAndType) Returns AnInvokeDynamicEntry
describing a dynamic call site.ConstantPoolBuilder.methodRefEntry
(ClassEntry owner, NameAndTypeEntry nameAndType) Returns AMethodRefEntry
describing a method of a class. -
Uses of NameAndTypeEntry in java.lang.classfile.instruction
Methods in java.lang.classfile.instruction with parameters of type NameAndTypeEntryModifier and TypeMethodDescriptionstatic FieldInstruction
FieldInstruction.of
(Opcode op, ClassEntry owner, NameAndTypeEntry nameAndType) Returns a field access instruction.static InvokeInstruction
InvokeInstruction.of
(Opcode op, ClassEntry owner, NameAndTypeEntry nameAndType, boolean isInterface) Returns an invocation instruction.