Uses of Interface
java.lang.classfile.ClassModel
Packages that use ClassModelPREVIEW
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides specific components, transformations, and tools built on top of the
java.lang.classfilePREVIEW library.Provides interfaces describing classfile constant pool entries for the
java.lang.classfilePREVIEW library.-
Uses of ClassModelPREVIEW in java.lang.classfilePREVIEW
Methods in java.lang.classfilePREVIEW that return ClassModelPREVIEWModifier and TypeMethodDescriptionClassFile.parse(byte[] bytes) Parse a classfile into aClassModelPREVIEW.default ClassModelPREVIEWParse a classfile into aClassModelPREVIEW.Methods in java.lang.classfilePREVIEW that return types with arguments of type ClassModelPREVIEWModifier and TypeMethodDescriptionFieldModel.parent()Returns the class model this field is a member of, if known.MethodModel.parent()Returns the class model this method is a member of, if known.Methods in java.lang.classfilePREVIEW with parameters of type ClassModelPREVIEWModifier and TypeMethodDescriptiondefault byte[]ClassFile.transformClass(ClassModelPREVIEW model, ClassTransformPREVIEW transform) Transform one classfile into a new classfile with the aid of aClassTransformPREVIEW.byte[]ClassFile.transformClass(ClassModelPREVIEW model, ClassEntryPREVIEW newClassName, ClassTransformPREVIEW transform) Transform one classfile into a new classfile with the aid of aClassTransformPREVIEW.default byte[]ClassFile.transformClass(ClassModelPREVIEW model, ClassDesc newClassName, ClassTransformPREVIEW transform) Transform one classfile into a new classfile with the aid of aClassTransformPREVIEW.ClassFile.verify(ClassModelPREVIEW model) Verify a classfile. -
Uses of ClassModelPREVIEW in java.lang.classfile.componentsPREVIEW
Methods in java.lang.classfile.componentsPREVIEW with parameters of type ClassModelPREVIEWModifier and TypeMethodDescriptiondefault byte[]ClassRemapper.remapClass(ClassFilePREVIEW context, ClassModelPREVIEW clm) Remaps the whole ClassModel into a new class file, including the class name. -
Uses of ClassModelPREVIEW in java.lang.classfile.constantpoolPREVIEW
Methods in java.lang.classfile.constantpoolPREVIEW with parameters of type ClassModelPREVIEWModifier and TypeMethodDescriptionstatic ConstantPoolBuilderPREVIEWConstantPoolBuilder.of(ClassModelPREVIEW classModel) Returns a new constant pool builder.