Clover coverage report - Java Language Levels Test Coverage (javalanglevels-20120305-r5436)
Coverage timestamp: Sun Mar 4 2012 22:02:46 CST
file stats: LOC: 32   Methods: 2
NCLOC: 17   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
Body.java 50% 80% 100% 77.8%
coverage coverage
 1    package edu.rice.cs.javalanglevels.tree;
 2   
 3    import edu.rice.cs.javalanglevels.SourceInfo;
 4   
 5    /**
 6    * Class Body, a component of the JExpressionIF composite hierarchy.
 7    * Note: null is not allowed as a value for any field.
 8    * @version Generated automatically by ASTGen at Sun Mar 04 22:01:28 CST 2012
 9    */
 10    public abstract class Body extends JExpression {
 11    private final BodyItemI[] _statements;
 12   
 13    /**
 14    * Constructs a Body.
 15    * @throws java.lang.IllegalArgumentException If any parameter to the constructor is null.
 16    */
 17  1187 public Body(SourceInfo in_sourceInfo, BodyItemI[] in_statements) {
 18  1187 super(in_sourceInfo);
 19   
 20  1187 if (in_statements == null) {
 21  0 throw new java.lang.IllegalArgumentException("Parameter 'statements' to the Body constructor was null. This class may not have null field values.");
 22    }
 23  1187 _statements = in_statements;
 24    }
 25   
 26  6742 public BodyItemI[] getStatements() { return _statements; }
 27   
 28    public abstract <RetType> RetType visit(JExpressionIFVisitor<RetType> visitor);
 29    public abstract void visit(JExpressionIFVisitor_void visitor);
 30    public abstract void outputHelp(TabPrintWriter writer);
 31    protected abstract int generateHashCode();
 32    }