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 EnclosingMethodAttributeEnclosingMethodAttribute.of(ClassEntry className, Optional<NameAndTypeEntry> method) Returns anEnclosingMethodattribute. -
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 ANameAndTypeEntrydescribing the provided name and type.default NameAndTypeEntryConstantPoolBuilder.nameAndTypeEntry(String name, ClassDesc type) Returns ANameAndTypeEntrydescribing the provided name and type.default NameAndTypeEntryConstantPoolBuilder.nameAndTypeEntry(String name, MethodTypeDesc type) Returns ANameAndTypeEntrydescribing the provided name and type.Methods in java.lang.classfile.constantpool with parameters of type NameAndTypeEntryModifier and TypeMethodDescriptionConstantPoolBuilder.constantDynamicEntry(BootstrapMethodEntry bootstrapMethodEntry, NameAndTypeEntry nameAndType) Returns AConstantDynamicEntrydescribing a dynamic constant.ConstantPoolBuilder.fieldRefEntry(ClassEntry owner, NameAndTypeEntry nameAndType) Returns AFieldRefEntrydescribing a field of a class.ConstantPoolBuilder.interfaceMethodRefEntry(ClassEntry owner, NameAndTypeEntry nameAndType) Returns AInterfaceMethodRefEntrydescribing a method of a class.ConstantPoolBuilder.invokeDynamicEntry(BootstrapMethodEntry bootstrapMethodEntry, NameAndTypeEntry nameAndType) Returns AnInvokeDynamicEntrydescribing a dynamic call site.ConstantPoolBuilder.methodRefEntry(ClassEntry owner, NameAndTypeEntry nameAndType) Returns AMethodRefEntrydescribing 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 FieldInstructionFieldInstruction.of(Opcode op, ClassEntry owner, NameAndTypeEntry nameAndType) Returns a field access instruction.static InvokeInstructionInvokeInstruction.of(Opcode op, ClassEntry owner, NameAndTypeEntry nameAndType, boolean isInterface) Returns an invocation instruction.