MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / toString

Method toString

src/main/java/Client/Msg.java:122–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 }
121
122 public String toString() {
123 StringBuffer time = new StringBuffer();
124 if (messageType == Msg.MESSAGE_TYPE_PRESENCE
125 || !(Config.getInstance().hideTimestamps
126 || (Config.getInstance().showNickNames && subject != null))) {
127 time.append("[").append(getTime()).append("] ");
128 }
129 time.append(body);
130 return time.toString();
131 }
132
133 public boolean isPresence() { return messageType==MESSAGE_TYPE_PRESENCE; }
134

Callers 15

stanzaEditMethod · 0.95
quoteStringMethod · 0.95
StatusFormMethod · 0.45
ConfigFormMethod · 0.45
mucContactMethod · 0.45
sendDirectPresenceMethod · 0.45
selfContactMethod · 0.45
sendPresenceMethod · 0.45
doSubscribeMethod · 0.45
sendMessageMethod · 0.45
sendDeliveryMessageMethod · 0.45

Calls 3

getInstanceMethod · 0.95
getTimeMethod · 0.95
appendMethod · 0.80

Tested by

no test coverage detected