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
ImportStatement.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 ImportStatement, 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 ImportStatement extends JExpression {
 11    private final CompoundWord _cWord;
 12   
 13    /**
 14    * Constructs a ImportStatement.
 15    * @throws java.lang.IllegalArgumentException If any parameter to the constructor is null.
 16    */
 17  24 public ImportStatement(SourceInfo in_sourceInfo, CompoundWord in_cWord) {
 18  24 super(in_sourceInfo);
 19   
 20  24 if (in_cWord == null) {
 21  0 throw new java.lang.IllegalArgumentException("Parameter 'cWord' to the ImportStatement constructor was null. This class may not have null field values.");
 22    }
 23  24 _cWord = in_cWord;
 24    }
 25   
 26  52 public CompoundWord getCWord() { return _cWord; }
 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    }