public String toString() { StringBuilder builder = new StringBuilder(); builder.append( String.format("%s%s %s", visibility.toString(), CodeUtil.lastIdentifier(type), identifier)); if (value != null) builder.append(String.format(" = %s", value.toString())); builder.append(";"); return builder.toString(); }
public StaticFunctionCall(String className, String functionName, Collection<Value> parameters) { super( String.format("%s.%s", CodeUtil.classNameWithoutGeneric(className), functionName), parameters); this.className = new String(className); }
public StaticFunctionCall(String className, String functionName) { super(String.format("%s.%s", CodeUtil.classNameWithoutGeneric(className), functionName)); this.className = new String(className); }