net.sourceforge.groboutils.codecoverage.v2.compiler
Class PostCompileClass

java.lang.Object
  extended bynet.sourceforge.groboutils.codecoverage.v2.compiler.PostCompileClass

public class PostCompileClass
extends java.lang.Object

This is the main entry-point for performing the post-compilation of class files.

Since:
December 16, 2002
Version:
$Date: 2003/05/05 05:45:33 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Constructor Summary
PostCompileClass(IMetaDataWriter writer, IAnalysisModule[] modules)
           
PostCompileClass(ParseCoverageLogger pcl, IMetaDataWriter writer, IAnalysisModule[] modules)
           
 
Method Summary
 void postCompile(java.lang.String filename, byte[] classFile, java.io.OutputStream classOut)
          Performs the post-compilation for the given class file for all the internal analysis modules, and will write the new class file to the given stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostCompileClass

public PostCompileClass(IMetaDataWriter writer,
                        IAnalysisModule[] modules)
Parameters:
writer - meta-data output for the analysis generated for class post-compiled; must not be null.
modules - a list of all analysis modules to use when post-compiling each class; must not be null.
Throws:
java.lang.IllegalArgumentException - if either writer or modules is null.

PostCompileClass

public PostCompileClass(ParseCoverageLogger pcl,
                        IMetaDataWriter writer,
                        IAnalysisModule[] modules)
Parameters:
pcl - the parser for a specific CoverageLogger (may be null).
writer - meta-data output for the analysis generated for class post-compiled; must not be null.
modules - a list of all analysis modules to use when post-compiling each class; must not be null.
Throws:
java.lang.IllegalArgumentException - if either writer or modules is null.
Since:
December 28, 2002
Method Detail

postCompile

public void postCompile(java.lang.String filename,
                        byte[] classFile,
                        java.io.OutputStream classOut)
                 throws java.io.IOException
Performs the post-compilation for the given class file for all the internal analysis modules, and will write the new class file to the given stream.

Throws:
java.io.IOException


Copyright © 2001-2003 by The GroboUtils Project