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.classfile
PREVIEW library.Provides interfaces describing classfile constant pool entries for the
java.lang.classfile
PREVIEW 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 aClassModel
PREVIEW.default ClassModelPREVIEW
Parse a classfile into aClassModel
PREVIEW.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 aClassTransform
PREVIEW.byte[]
ClassFile.transformClass
(ClassModelPREVIEW model, ClassEntryPREVIEW newClassName, ClassTransformPREVIEW transform) Transform one classfile into a new classfile with the aid of aClassTransform
PREVIEW.default byte[]
ClassFile.transformClass
(ClassModelPREVIEW model, ClassDesc newClassName, ClassTransformPREVIEW transform) Transform one classfile into a new classfile with the aid of aClassTransform
PREVIEW.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 ConstantPoolBuilderPREVIEW
ConstantPoolBuilder.of
(ClassModelPREVIEW classModel) Returns a new constant pool builder.