@Override
	public String toString() {
		try {
			String s = getTypeDeclString();

			String methodListString = getMethodListString();
			if (!methodListString.isEmpty()) {
				s += "\n\n// Methods\n" + methodListString;
			}

			String interfaceString = getImplementsInterfaceString();
			if (!interfaceString.isEmpty()) {
				s += "\n\n// Interfaces implemented\n" + interfaceString;
			}

			return s;
		}
		catch (IOException e) {
			return super.toString();
		}
	}
Returns a descriptive string that defines the declaration of this type.
<p>
This method should be overloaded by more specific types.

@return descriptive string
@throws IOException if error reading data
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/types/GoType.java