All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.lteconsulting.roaster.Block Maven / Gradle / Ivy

There is a newer version: 1.8
Show newest version
package fr.lteconsulting.roaster;

import java.util.function.Consumer;

/*
 * TODO : add a method to separate blocks
 */
public interface Block
{
	Block block();

	Block block( Consumer blockReceiver );

	Block comment();

	Block javadoc();

	Block indent();

	Block indent( Consumer blockReceiver );

	Block clazz( String name );

	Block clazz( String name, String[] implement );

	Block clazz( String name, String extend );

	Block clazz( String name, String extend, String[] implement );

	Block separator();

	Block line();

	Block line( String format, Object... arguments );

	Block addAny( Thing youWant );
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy