public class ClassDumper<T> extends Object implements Dumper<BetterReflectionClass<T>>
BetterReflectionClass.
It provides methods to dump the constructors, fields, and methods of the class.| Constructor and Description |
|---|
ClassDumper()
Default constructor for ClassDumper.
|
ClassDumper(ConstructorDumper constructorDumper,
FieldDumper fieldDumper,
MethodDumper methodDumper)
Constructs an instance of ClassDumper with the specified constructorDumper, fieldDumper, and methodDumper
|
| Modifier and Type | Method and Description |
|---|---|
String |
dump(BetterReflectionClass<T> clasz)
Dumps information about the given BetterReflectionClass object.
|
public ClassDumper(ConstructorDumper constructorDumper, FieldDumper fieldDumper, MethodDumper methodDumper)
constructorDumper - the ConstructorDumper that will be used to dump constructors of the classfieldDumper - the FieldDumper that will be used to dump fields of the classmethodDumper - the MethodDumper that will be used to dump methods of the classpublic ClassDumper()
public String dump(BetterReflectionClass<T> clasz)
dump in interface Dumper<BetterReflectionClass<T>>clasz - the BetterReflectionClass object to dumpCopyright © 2024. All rights reserved.