package com.utility.generator.clazz.part;

import java.util.Collections;
import java.util.List;

import com.utility.generator.file.FileBuilder;

public abstract class AbstractGeneratedClass implements GeneratedClass {

	@Override
	public List<GeneratedConstructor> constructors() {
		return Collections.emptyList();
	}

	@Override
	public String toString() {
		return new JavaClassSourceWrapper(this).toString();
	}

	public void generate() {
		String source = new JavaClassSourceWrapper(this).toString();

		new FileBuilder().createFile(name(), classFilePath(), source);
	}

}


@@ -317,105 +317,8 @@
 %09%7D%0A%0A
-%09@Override%0A%09public String toString() %7B%0A%09%09return new JavaClassSourceWrapper(this).toString();%0A%09%7D%0A%0A
 %09pub

Remove unused method