org.jboss.kernel.plugins.annotations
Class FieldAnnotationPlugin<C extends Annotation>

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,C>
          extended by org.jboss.kernel.plugins.annotations.FieldAnnotationPlugin<C>
Type Parameters:
C - annotation type
All Implemented Interfaces:
Cloneable, AnnotationPlugin<org.jboss.reflect.spi.FieldInfo,C>, org.jboss.util.JBossInterface

public abstract class FieldAnnotationPlugin<C extends Annotation>
extends AbstractAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,C>

Field annotation plugin.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
protected FieldAnnotationPlugin(Class<C> annotation)
           
 
Method Summary
protected  boolean isElementTypeSupported(ElementType type)
          Is type supported by plugin.
 
Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin
applyAnnotation, cleanAnnotation, getAnnotation, getSupportedTypes, internalApplyAnnotation, internalApplyAnnotation, internalApplyAnnotation, internalCleanAnnotation, isAttributePresent, isMetaDataAlreadyPresent, isMetaDataAlreadyPresent, toShortString, toString
 
Methods inherited from class org.jboss.util.JBossObject
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldAnnotationPlugin

protected FieldAnnotationPlugin(Class<C> annotation)
Method Detail

isElementTypeSupported

protected boolean isElementTypeSupported(ElementType type)
Description copied from class: AbstractAnnotationPlugin
Is type supported by plugin.

Specified by:
isElementTypeSupported in class AbstractAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,C extends Annotation>
Parameters:
type - the annotation element type
Returns:
true if element supported


Copyright ? 2007 JBoss Inc.. All Rights Reserved.