FileDocCategorySizeDatePackage
AnnotationProcessors.javaAPI DocJava SE 5 API2942Fri Aug 26 14:55:14 BST 2005com.sun.mirror.apt

AnnotationProcessors

public class AnnotationProcessors extends Object
Utilities to create specialized annotation processors.
since
1.5
author
Joseph D. Darcy
author
Scott Seligman

Fields Summary
public static final AnnotationProcessor
NO_OP
An annotation processor that does nothing and has no state. May be used multiple times.
Constructors Summary
Methods Summary
public static com.sun.mirror.apt.AnnotationProcessorgetCompositeAnnotationProcessor(com.sun.mirror.apt.AnnotationProcessor aps)
Constructs a new composite annotation processor. A composite annotation processor combines multiple annotation processors into one and functions by invoking each of its component processors' process methods in sequence.

param
aps The processors to create a composite of
since
1.5

 
                                                  
         
	return new CompositeAnnotationProcessor(aps);
    
public static com.sun.mirror.apt.AnnotationProcessorgetCompositeAnnotationProcessor(java.util.Collection aps)
Constructs a new composite annotation processor. A composite annotation processor combines multiple annotation processors into one and functions by invoking each of its component processors' process methods in the sequence the processors are returned by the collection's iterator.

param
aps A collection of processors to create a composite of
since
1.5

	return new CompositeAnnotationProcessor(aps);