Uses of Interface
java.lang.classfile.constantpool.NameAndTypeEntry
Packages that use NameAndTypeEntry
Package
Description
Provides interfaces describing
class file attributes for the java.lang.classfile library.Provides interfaces describing 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 exactly one 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 name and the descriptor string indicated by this symbolic reference.MemberRefEntry.nameAndType()Returns the name and descriptor string of the member.ConstantPoolBuilder.nameAndTypeEntry(Utf8Entry nameEntry, Utf8Entry typeEntry) Returns aNameAndTypeEntryreferring to the provided name and typeUtf8Entry.default NameAndTypeEntryConstantPoolBuilder.nameAndTypeEntry(String name, ClassDesc type) Returns aNameAndTypeEntrydescribing the provided unqualified name and field descriptor.default NameAndTypeEntryConstantPoolBuilder.nameAndTypeEntry(String name, MethodTypeDesc type) Returns aNameAndTypeEntrydescribing the provided name and method descriptor.Methods in java.lang.classfile.constantpool with parameters of type NameAndTypeEntryModifier and TypeMethodDescriptionConstantPoolBuilder.constantDynamicEntry(BootstrapMethodEntry bootstrapMethodEntry, NameAndTypeEntry nameAndType) ConstantPoolBuilder.fieldRefEntry(ClassEntry owner, NameAndTypeEntry nameAndType) ConstantPoolBuilder.interfaceMethodRefEntry(ClassEntry owner, NameAndTypeEntry nameAndType) ConstantPoolBuilder.invokeDynamicEntry(BootstrapMethodEntry bootstrapMethodEntry, NameAndTypeEntry nameAndType) ConstantPoolBuilder.methodRefEntry(ClassEntry owner, NameAndTypeEntry nameAndType) -
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.