org.vraptor.component
Class FieldAnnotation<T extends Annotation>

java.lang.Object
  extended by org.vraptor.component.FieldAnnotation<T>
Type Parameters:
T - the type of annotation which shall be used

public class FieldAnnotation<T extends Annotation>
extends Object

Represents a field annotated.

Author:
Guilherme Silveira

Constructor Summary
FieldAnnotation(T annotation, Field field)
           
 
Method Summary
 T getAnnotation()
           
 Field getField()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldAnnotation

public FieldAnnotation(T annotation,
                       Field field)
Method Detail

getAnnotation

public T getAnnotation()
Returns:
Returns the annotation.

getField

public Field getField()
Returns:
Returns the field.


Copyright © 2004-2008 VRaptor. All Rights Reserved.