package shadow.typecheck.type;

import java.util.ArrayList;

/**
 * Represents the contents of a Shadow documentation comment. Should be
 * associated with a class/interface/exception/singleton declaration or
 * a field/method declaration.
 */
public class Documentation 
{
	private ArrayList<String> lines;
	
	public Documentation()
	{
		lines = new ArrayList<String>();
	}
	
	public void addLine(String line)
	{
		lines.add(line);
	}
	
	public String[] getLines()
	{
		return (String[]) lines.toArray();
	}
}

Reset the branch and created a class to store documentation comments
Reset the branch and created a class to store documentation comments
