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

COVERAGE SUMMARY FOR SOURCE FILE [CniPointerTypePrinter.java]

nameclass, %method, %block, %line, %
CniPointerTypePrinter.java100% (1/1)100% (4/4)100% (18/18)100% (6/6)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class CniPointerTypePrinter100% (1/1)100% (4/4)100% (18/18)100% (6/6)
<static initializer> 100% (1/1)100% (5/5)100% (1/1)
CniPointerTypePrinter (): void 100% (1/1)100% (3/3)100% (1/1)
getInstance (): JniTypePrinter 100% (1/1)100% (2/2)100% (1/1)
objectCxxType (Writer, Class): void 100% (1/1)100% (8/8)100% (3/3)

1/*
2 * $Id: CniPointerTypePrinter.java,v 1.1.1.2 2004/05/25 20:23:30 hastings Exp $
3 *
4 * (c) Copyright, Moebius Solutions, Inc., 2004
5 *
6 *                       All Rights Reserved
7 *
8 * This material may be reproduced by or for the U. S. Government
9 * pursuant to the copyright license under the clause at
10 * DFARS 252.227-7014 (OCT 2001).
11 */
12 
13package com.moesol.generator.printer;
14 
15import java.io.*;
16 
17/**
18 * Print types out in a manner suitable for interfacing with Cni,
19 * including return types and parameters.
20 */
21public class CniPointerTypePrinter extends CniTypePrinter {
22    protected CniPointerTypePrinter() { }
23    private static CniPointerTypePrinter instance = new CniPointerTypePrinter();
24    public static JniTypePrinter getInstance() {
25        return instance;
26    }
27 
28    protected void objectCxxType(Writer out, Class type) throws IOException {
29            super.objectCxxType(out, type);
30            out.write(" *");
31    }
32}

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