EMMA Coverage Report (generated Mon Mar 20 21:34:30 PST 2006)
[all classes][com.moesol.generator.printer]

COVERAGE SUMMARY FOR SOURCE FILE [TypePrinter.java]

nameclass, %method, %block, %line, %
TypePrinter.java100% (1/1)50%  (1/2)15%  (3/20)17%  (1/6)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class TypePrinter100% (1/1)50%  (1/2)15%  (3/20)17%  (1/6)
toString (Class): String 0%   (0/1)0%   (0/17)0%   (0/5)
TypePrinter (): void 100% (1/1)100% (3/3)100% (1/1)

1//
2// (c) Copyright, Moebius Solutions, 2002
3//
4//                       All Rights Reserved
5//
6// This material may be reproduced by or for the U. S. Government
7// pursuant to the copyright license under the clause at
8// DFARS 252.227-7013 (OCT 1988).
9//
10/*
11 * $Id: TypePrinter.java,v 1.1.1.5 2004/05/25 20:23:30 hastings Exp $
12 */
13package com.moesol.generator.printer;
14 
15import java.io.*;
16 
17public abstract class TypePrinter {
18    public abstract void print(Class type, Writer out) throws IOException;
19    public String toString(Class type) {
20        try {
21            StringWriter sw = new StringWriter();
22            print(type, sw);
23            return sw.toString();
24        } catch (IOException e) {
25            throw new RuntimeException(e);
26        }
27    }
28}

[all classes][com.moesol.generator.printer]
EMMA 2.0.5312 (C) Vladimir Roubtsov