Uses of Interface
java.lang.classfile.ClassModel
Packages that use ClassModel
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing constant pool entries for the
java.lang.classfile
library.-
Uses of ClassModel in java.lang.classfile
Methods in java.lang.classfile that return ClassModelModifier and TypeMethodDescriptionClassFile.parse
(byte[] bytes) Parses aclass
file into aClassModel
.default ClassModel
Parses aclass
into aClassModel
.Methods in java.lang.classfile that return types with arguments of type ClassModelModifier 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.classfile with parameters of type ClassModelModifier and TypeMethodDescriptiondefault byte[]
ClassFile.transformClass
(ClassModel model, ClassTransform transform) byte[]
ClassFile.transformClass
(ClassModel model, ClassEntry newClassName, ClassTransform transform) default byte[]
ClassFile.transformClass
(ClassModel model, ClassDesc newClassName, ClassTransform transform) ClassFile.verify
(ClassModel model) Verify aclass
file. -
Uses of ClassModel in java.lang.classfile.constantpool
Methods in java.lang.classfile.constantpool with parameters of type ClassModelModifier and TypeMethodDescriptionstatic ConstantPoolBuilder
ConstantPoolBuilder.of
(ClassModel classModel) Returns a new constant pool builder.