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

COVERAGE SUMMARY FOR SOURCE FILE [JavaFinalParamsVisitor.java]

nameclass, %method, %block, %line, %
JavaFinalParamsVisitor.java0%   (0/1)0%   (0/2)0%   (0/21)0%   (0/8)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class JavaFinalParamsVisitor0%   (0/1)0%   (0/2)0%   (0/21)0%   (0/8)
JavaFinalParamsVisitor (Writer): void 0%   (0/1)0%   (0/4)0%   (0/2)
visitParamType (Class, int, Class): void 0%   (0/1)0%   (0/17)0%   (0/6)

1/*
2 * $Id: JavaFinalParamsVisitor.java,v 1.1.1.5 2004/05/25 20:23:28 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;
14 
15import java.io.IOException;
16import java.io.Writer;
17 
18import com.moesol.generator.core.ApplyException;
19 
20/**
21 * @author robert
22 */
23public class JavaFinalParamsVisitor extends JavaParamsVisitor {
24 
25    /**
26     * @param out
27     */
28    public JavaFinalParamsVisitor(Writer out) {
29        super(out);
30    }
31 
32    public void visitParamType(Class c, int nparam, Class paramType)
33        throws ApplyException 
34    {
35        try {
36            out.write("final ");
37            super.visitParamType(c, nparam, paramType);
38        } catch (IOException e) {
39            throw new ApplyException(e);
40        }
41    }
42 
43}

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