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

com.dragome.compiler.units.FieldUnit Maven / Gradle / Ivy

There is a newer version: 0.96-beta4
Show newest version
package com.dragome.compiler.units;

import java.io.IOException;
import java.io.Writer;

import com.dragome.compiler.type.Signature;
import com.dragome.compiler.utils.Log;

public class FieldUnit extends MemberUnit
{

	public FieldUnit(Signature theSignature, ClassUnit theDeclaringClazz)
	{
		super(theSignature, theDeclaringClazz);
	}

	public void write(int depth, Writer writer) throws IOException
	{
		if (getData() == null)
			return;
		Log.getLogger().debug(getIndent(depth) + getSignature());
		writer.write(getData());
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy