Uses of Interface
java.lang.classfile.constantpool.ClassEntry
Packages that use ClassEntryPREVIEW
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 ClassEntryPREVIEW in java.lang.classfilePREVIEW
Methods in java.lang.classfilePREVIEW that return ClassEntryPREVIEWModifier and TypeMethodDescriptionSuperclass.superclassEntry()Returns the superclass.ClassModel.thisClass()Returns the constant pool entry describing the name of this class.ClassReader.thisClassEntry()Returns the constant pool entry describing the name of class.Methods in java.lang.classfilePREVIEW that return types with arguments of type ClassEntryPREVIEWModifier and TypeMethodDescriptionClassModel.interfaces()Returns the interfaces implemented by this class.Interfaces.interfaces()Returns the interfaces of this class.ClassModel.superclass()Returns the superclass of this class, if there is one.ClassReader.superclassEntry()Returns the constant pool entry describing the name of the superclass, if any.Methods in java.lang.classfilePREVIEW with parameters of type ClassEntryPREVIEWModifier and TypeMethodDescriptiondefault CodeBuilderPREVIEWCodeBuilder.anewarray(ClassEntryPREVIEW classEntry) Generate an instruction to create a new array of referencebyte[]ClassFile.build(ClassEntryPREVIEW thisClassEntry, ConstantPoolBuilderPREVIEW constantPool, Consumer<? super ClassBuilderPREVIEW> handler) Build a classfile into a byte array using the provided constant pool builder.default voidClassFile.buildTo(Path path, ClassEntryPREVIEW thisClassEntry, ConstantPoolBuilderPREVIEW constantPool, Consumer<? super ClassBuilderPREVIEW> handler) Build a classfile into a file using the provided constant pool builder.default CodeBuilderPREVIEWCodeBuilder.checkcast(ClassEntryPREVIEW type) Generate an instruction to check whether an object is of the given typedefault CodeBuilderPREVIEWCodeBuilder.exceptionCatch(LabelPREVIEW start, LabelPREVIEW end, LabelPREVIEW handler, ClassEntryPREVIEW catchType) Declare an exception table entrydefault CodeBuilderPREVIEWCodeBuilder.instanceOf(ClassEntryPREVIEW target) Generate an instruction to determine if an object is of the given typedefault CodeBuilderPREVIEWCodeBuilder.multianewarray(ClassEntryPREVIEW array, int dims) Generate an instruction to create a new multidimensional arraydefault CodeBuilderPREVIEWCodeBuilder.new_(ClassEntryPREVIEW clazz) Generate an instruction to create a new objectstatic InterfacesPREVIEWInterfaces.of(ClassEntryPREVIEW... interfaces) Returns an Interfaces element.static SuperclassPREVIEWSuperclass.of(ClassEntryPREVIEW superclassEntry) Returns a Superclass element.byte[]ClassFile.transformClass(ClassModelPREVIEW model, ClassEntryPREVIEW newClassName, ClassTransformPREVIEW transform) Transform one classfile into a new classfile with the aid of aClassTransformPREVIEW.default ClassBuilderPREVIEWClassBuilder.withInterfaces(ClassEntryPREVIEW... interfaces) Sets the interfaces of this class.default ClassBuilderPREVIEWClassBuilder.withSuperclass(ClassEntryPREVIEW superclassEntry) Sets the superclass of this class.Method parameters in java.lang.classfilePREVIEW with type arguments of type ClassEntryPREVIEWModifier and TypeMethodDescriptiondefault CodeBuilderPREVIEWCodeBuilder.exceptionCatch(LabelPREVIEW start, LabelPREVIEW end, LabelPREVIEW handler, Optional<ClassEntryPREVIEW> catchType) Declare an exception table entrystatic InterfacesPREVIEWInterfaces.of(List<ClassEntryPREVIEW> interfaces) Returns an Interfaces element.default ClassBuilderPREVIEWClassBuilder.withInterfaces(List<ClassEntryPREVIEW> interfaces) Sets the interfaces of this class. -
Uses of ClassEntryPREVIEW in java.lang.classfile.attributePREVIEW
Methods in java.lang.classfile.attributePREVIEW that return ClassEntryPREVIEWModifier and TypeMethodDescriptionStackMapFrameInfo.ObjectVerificationTypeInfo.className()Returns the class of the object.EnclosingMethodAttribute.enclosingClass()Returns the innermost class that encloses the declaration of the current class.InnerClassInfo.innerClass()Returns the class described by this inner class description.ModuleMainClassAttribute.mainClass()Returns main class for this module.NestHostAttribute.nestHost()Returns the host class of the nest to which this class belongs.ModuleProvideInfo.provides()Returns the service interface representing the provided service.Methods in java.lang.classfile.attributePREVIEW that return types with arguments of type ClassEntryPREVIEWModifier and TypeMethodDescriptionExceptionsAttribute.exceptions()Returns the exceptions declared to be thrown by this method.NestMembersAttribute.nestMembers()Returns the classes belonging to the nest hosted by this class.InnerClassInfo.outerClass()Returns the class or interface of which this class is a member, if it is a member of a class or interface.PermittedSubclassesAttribute.permittedSubclasses()Returns the list of permitted subclasses.ModuleProvideInfo.providesWith()Returns the classes providing the service implementation.ModuleAttribute.uses()Returns the services used by this module.Methods in java.lang.classfile.attributePREVIEW with parameters of type ClassEntryPREVIEWModifier and TypeMethodDescriptionEnclosingMethodAttribute.of(ClassEntryPREVIEW className, Optional<NameAndTypeEntryPREVIEW> method) Returns anEnclosingMethodattribute.static ExceptionsAttributePREVIEWExceptionsAttribute.of(ClassEntryPREVIEW... exceptions) Returns anExceptionsattribute.static InnerClassInfoPREVIEWInnerClassInfo.of(ClassEntryPREVIEW innerClass, Optional<ClassEntryPREVIEW> outerClass, Optional<Utf8EntryPREVIEW> innerName, int flags) Returns an inner class description.ModuleMainClassAttribute.of(ClassEntryPREVIEW mainClass) Returns aModuleMainClassattribute.static ModuleProvideInfoPREVIEWModuleProvideInfo.of(ClassEntryPREVIEW provides, ClassEntryPREVIEW... providesWith) Returns a service provision description.static ModuleProvideInfoPREVIEWModuleProvideInfo.of(ClassEntryPREVIEW provides, List<ClassEntryPREVIEW> providesWith) Returns a service provision description.static NestHostAttributePREVIEWNestHostAttribute.of(ClassEntryPREVIEW nestHost) Returns aNestHostattribute.static NestMembersAttributePREVIEWNestMembersAttribute.of(ClassEntryPREVIEW... nestMembers) Returns aNestMembersattribute.PermittedSubclassesAttribute.of(ClassEntryPREVIEW... permittedSubclasses) Returns aPermittedSubclassesattribute.StackMapFrameInfo.ObjectVerificationTypeInfo.of(ClassEntryPREVIEW className) Returns a new object verification type info.ModuleAttribute.ModuleAttributeBuilder.uses(ClassEntryPREVIEW uses) Declares use of a serviceMethod parameters in java.lang.classfile.attributePREVIEW with type arguments of type ClassEntryPREVIEWModifier and TypeMethodDescriptionstatic ExceptionsAttributePREVIEWExceptionsAttribute.of(List<ClassEntryPREVIEW> exceptions) Returns anExceptionsattribute.static InnerClassInfoPREVIEWInnerClassInfo.of(ClassEntryPREVIEW innerClass, Optional<ClassEntryPREVIEW> outerClass, Optional<Utf8EntryPREVIEW> innerName, int flags) Returns an inner class description.static ModuleProvideInfoPREVIEWModuleProvideInfo.of(ClassEntryPREVIEW provides, List<ClassEntryPREVIEW> providesWith) Returns a service provision description.static NestMembersAttributePREVIEWNestMembersAttribute.of(List<ClassEntryPREVIEW> nestMembers) Returns aNestMembersattribute.PermittedSubclassesAttribute.of(List<ClassEntryPREVIEW> permittedSubclasses) Returns aPermittedSubclassesattribute. -
Uses of ClassEntryPREVIEW in java.lang.classfile.constantpoolPREVIEW
Methods in java.lang.classfile.constantpoolPREVIEW that return ClassEntryPREVIEWModifier and TypeMethodDescriptionConstantPoolBuilder.classEntry(Utf8EntryPREVIEW ne) Returns AClassEntryPREVIEW describing the class whose internal name is encoded in the provided Utf8Entry.default ClassEntryPREVIEWConstantPoolBuilder.classEntry(ClassDesc classDesc) MemberRefEntry.owner()Returns the class in which this member ref lives.Methods in java.lang.classfile.constantpoolPREVIEW with parameters of type ClassEntryPREVIEWModifier and TypeMethodDescriptionConstantPoolBuilder.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.methodRefEntry(ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType) Returns AMethodRefEntryPREVIEW describing a method of a class. -
Uses of ClassEntryPREVIEW in java.lang.classfile.instructionPREVIEW
Methods in java.lang.classfile.instructionPREVIEW that return ClassEntryPREVIEWModifier and TypeMethodDescriptionNewMultiArrayInstruction.arrayType()Returns the type of the array, as a symbolic descriptor.NewObjectInstruction.className()Returns the type of object to create.NewReferenceArrayInstruction.componentType()Returns the component type of the array.default ClassEntryPREVIEWFieldInstruction.owner()Returns the class holding the field.default ClassEntryPREVIEWInvokeInstruction.owner()Returns the class holding the method.TypeCheckInstruction.type()Returns the type against which the instruction checks or casts.Methods in java.lang.classfile.instructionPREVIEW that return types with arguments of type ClassEntryPREVIEWModifier and TypeMethodDescriptionExceptionCatch.catchType()Returns the type of the exception to catch, or empty if this handler is unconditional.Methods in java.lang.classfile.instructionPREVIEW with parameters of type ClassEntryPREVIEWModifier and TypeMethodDescriptionstatic FieldInstructionPREVIEWFieldInstruction.of(OpcodePREVIEW op, ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType) Returns a field access instruction.static FieldInstructionPREVIEWFieldInstruction.of(OpcodePREVIEW op, ClassEntryPREVIEW owner, Utf8EntryPREVIEW name, Utf8EntryPREVIEW type) Returns a field access instruction.static InvokeInstructionPREVIEWInvokeInstruction.of(OpcodePREVIEW op, ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType, boolean isInterface) Returns an invocation instruction.static InvokeInstructionPREVIEWInvokeInstruction.of(OpcodePREVIEW op, ClassEntryPREVIEW owner, Utf8EntryPREVIEW name, Utf8EntryPREVIEW type, boolean isInterface) Returns an invocation instruction.NewMultiArrayInstruction.of(ClassEntryPREVIEW arrayTypeEntry, int dimensions) Returns a new multi-dimensional array instruction.static NewObjectInstructionPREVIEWNewObjectInstruction.of(ClassEntryPREVIEW className) Returns a new object instruction.NewReferenceArrayInstruction.of(ClassEntryPREVIEW componentType) Returns a new reference array instruction.static TypeCheckInstructionPREVIEWTypeCheckInstruction.of(OpcodePREVIEW op, ClassEntryPREVIEW type) Returns a type check instruction.Method parameters in java.lang.classfile.instructionPREVIEW with type arguments of type ClassEntryPREVIEW