ClassBuilder (Java SE 22 [ad-hoc build]) (original) (raw)

[original](#original%28%29)()
Adds a field by transforming a field from another class.
Adds a method by transforming a method from another class.
[withFlags](#withFlags%28int%29)(int flags)
Sets the classfile access flags.
Sets the classfile access flags.
Sets the interfaces of this class.
Sets the interfaces of this class.
Sets the interfaces of this class.
Sets the interfaces of this class.
Adds a method, with only a Code attribute.
Sets the superclass of this class.
Sets the superclass of this class.
[withVersion](#withVersion%28int,int%29)(int major, int minor)
Sets the classfile version.