MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / toString

Method toString

CodenameOne/src/com/codename1/ui/Component.java:7123–7128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7121 ///
7122 /// a string representation of this component
7123 @Override
7124 public String toString() {
7125 String className = getClass().getName();
7126 className = className.substring(className.lastIndexOf('.') + 1);
7127 return className + "[" + paramString() + "]";
7128 }
7129
7130 /// Returns a string representing the state of this component. This
7131 /// method is intended to be used only for debugging purposes, and the

Callers

nothing calls this directly

Calls 5

substringMethod · 0.95
lastIndexOfMethod · 0.95
paramStringMethod · 0.95
getNameMethod · 0.65
getClassMethod · 0.45

Tested by

no test coverage detected