MCPcopy
hub / github.com/elunez/eladmin / toString

Method toString

eladmin-common/src/main/java/me/zhengjie/base/BaseDTO.java:26–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 private Timestamp updateTime;
25
26 @Override
27 public String toString() {
28 ToStringBuilder builder = new ToStringBuilder(this);
29 Field[] fields = this.getClass().getDeclaredFields();
30 try {
31 for (Field f : fields) {
32 f.setAccessible(true);
33 builder.append(f.getName(), f.get(this)).append("\n");
34 }
35 } catch (Exception e) {
36 builder.append("toString builder encounter an error");
37 }
38 return builder.toString();
39 }
40}

Callers 15

updateMethod · 0.45
validatedMethod · 0.45
getCpuInfoMethod · 0.45
getSystemInfoMethod · 0.45
backupAppMethod · 0.45
serverStatusMethod · 0.45
startServerMethod · 0.45
stopServerMethod · 0.45
sendResultMsgMethod · 0.45
readSqlListMethod · 0.45
executeForResultMethod · 0.45
downloadMethod · 0.45

Calls 1

getMethod · 0.80

Tested by

no test coverage detected