rewrite-config-annotations-api 1.1.0.Final

org.ocpsoft.rewrite.annotation.spi
Class ClassAnnotationHandler<A extends Annotation>

java.lang.Object
  extended by org.ocpsoft.rewrite.annotation.spi.ClassAnnotationHandler<A>
All Implemented Interfaces:
AnnotationHandler<A>

public abstract class ClassAnnotationHandler<A extends Annotation>
extends Object
implements AnnotationHandler<A>

A common base class for AnnotationHandler implementations that process method annotations.

Author:
Lincoln Baxter, III

Constructor Summary
ClassAnnotationHandler()
           
 
Method Summary
 void process(ClassContext context, AnnotatedElement element, A annotation)
           
abstract  void process(ClassContext context, Class<?> type, A annotation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ocpsoft.rewrite.annotation.spi.AnnotationHandler
handles
 

Constructor Detail

ClassAnnotationHandler

public ClassAnnotationHandler()
Method Detail

process

public final void process(ClassContext context,
                          AnnotatedElement element,
                          A annotation)
Specified by:
process in interface AnnotationHandler<A extends Annotation>

process

public abstract void process(ClassContext context,
                             Class<?> type,
                             A annotation)

rewrite-config-annotations-api 1.1.0.Final

Copyright © 2012 OCPsoft. All Rights Reserved.