org.apache.jdo.impl.enhancer.util
Class AnnotationTest

java.lang.Object
  extended byorg.apache.jdo.impl.enhancer.util.Assertion
      extended byorg.apache.jdo.impl.enhancer.util.Support
          extended byorg.apache.jdo.impl.enhancer.LogSupport
              extended byorg.apache.jdo.impl.enhancer.GenericMain
                  extended byorg.apache.jdo.impl.enhancer.ClassArgMain
                      extended byorg.apache.jdo.impl.enhancer.JdoMetaMain
                          extended byorg.apache.jdo.impl.enhancer.util.AnnotationTest

public class AnnotationTest
extends JdoMetaMain

Utility class for testing a class file for correct annotation.

Author:
Martin Zaun

Field Summary
static int AFFIRMATIVE
           
static int ERROR
           
static int NEGATIVE
           
 
Fields inherited from class org.apache.jdo.impl.enhancer.JdoMetaMain
jdoMeta, options
 
Fields inherited from class org.apache.jdo.impl.enhancer.ClassArgMain
classes
 
Fields inherited from class org.apache.jdo.impl.enhancer.GenericMain
err, INTERNAL_ERROR, OK, out, USAGE_ERROR, USER_EXCEPTION
 
Fields inherited from class org.apache.jdo.impl.enhancer.util.Support
timer
 
Constructor Summary
AnnotationTest(java.io.PrintWriter out, java.io.PrintWriter err)
           
 
Method Summary
static void main(java.lang.String[] args)
          Runs this class
protected  int process()
          Run the annotation test.
protected  int test(java.io.PrintWriter out, boolean verbose, java.util.List classNames, java.util.List classFileNames)
           
 
Methods inherited from class org.apache.jdo.impl.enhancer.JdoMetaMain
init, initJdoMetaData
 
Methods inherited from class org.apache.jdo.impl.enhancer.ClassArgMain
closeInputStream, getClassFileName, initClassLocator, openClassInputStream, openFileInputStream
 
Methods inherited from class org.apache.jdo.impl.enhancer.GenericMain
flush, print, println, println, printlnErr, printlnErr, printlnErr, printlnErr, run
 
Methods inherited from class org.apache.jdo.impl.enhancer.util.Support
getI18N, getI18N, getI18N, getI18N, getI18N, getI18N
 
Methods inherited from class org.apache.jdo.impl.enhancer.util.Assertion
affirm, affirm, affirm, affirm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AFFIRMATIVE

public static final int AFFIRMATIVE
See Also:
Constant Field Values

NEGATIVE

public static final int NEGATIVE
See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values
Constructor Detail

AnnotationTest

public AnnotationTest(java.io.PrintWriter out,
                      java.io.PrintWriter err)
Method Detail

test

protected int test(java.io.PrintWriter out,
                   boolean verbose,
                   java.util.List classNames,
                   java.util.List classFileNames)

process

protected int process()
Run the annotation test.

Overrides:
process in class GenericMain

main

public static void main(java.lang.String[] args)
Description copied from class: JdoMetaMain
Runs this class



Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.