org.apache.webbeans.portable
Class AnnotatedFieldImpl<X>

java.lang.Object
  extended by org.apache.webbeans.portable.AnnotatedFieldImpl<X>
Type Parameters:
X -
All Implemented Interfaces:
javax.enterprise.inject.spi.Annotated, javax.enterprise.inject.spi.AnnotatedField<X>, javax.enterprise.inject.spi.AnnotatedMember<X>

public class AnnotatedFieldImpl<X>
extends Object
implements javax.enterprise.inject.spi.AnnotatedField<X>

Implementation of AnnotatedField interface.

Version:
$Rev: 1182780 $ $Date: 2011-10-13 13:11:03 +0200 (Do, 13 Okt 2011) $

Field Summary
protected  Member javaMember
          Member type
 
Method Summary
protected  void addAnnotation(Annotation annotation)
          Adds new annotation to set.
<T extends Annotation>
T
getAnnotation(Class<T> annotationType)
          
 Set<Annotation> getAnnotations()
          
 Type getBaseType()
          
 javax.enterprise.inject.spi.AnnotatedType<X> getDeclaringType()
          
 Field getJavaMember()
          
 Set<Type> getTypeClosure()
          
protected  WebBeansContext getWebBeansContext()
           
 boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
          
 boolean isStatic()
          
protected  void setAnnotations(Annotation[] annotations)
          Adds new annotation to set.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.enterprise.inject.spi.AnnotatedMember
getDeclaringType, isStatic
 
Methods inherited from interface javax.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
 

Field Detail

javaMember

protected final Member javaMember
Member type

Method Detail

getJavaMember

public Field getJavaMember()

Specified by:
getJavaMember in interface javax.enterprise.inject.spi.AnnotatedField<X>
Specified by:
getJavaMember in interface javax.enterprise.inject.spi.AnnotatedMember<X>

toString

public String toString()

getDeclaringType

public javax.enterprise.inject.spi.AnnotatedType<X> getDeclaringType()

Specified by:
getDeclaringType in interface javax.enterprise.inject.spi.AnnotatedMember<X>

isStatic

public boolean isStatic()

Specified by:
isStatic in interface javax.enterprise.inject.spi.AnnotatedMember<X>

addAnnotation

protected void addAnnotation(Annotation annotation)
Adds new annotation to set.

Parameters:
annotation - new annotation

getWebBeansContext

protected WebBeansContext getWebBeansContext()

setAnnotations

protected void setAnnotations(Annotation[] annotations)
Adds new annotation to set.

Parameters:
annotations - new annotations

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationType)

Specified by:
getAnnotation in interface javax.enterprise.inject.spi.Annotated

getAnnotations

public Set<Annotation> getAnnotations()

Specified by:
getAnnotations in interface javax.enterprise.inject.spi.Annotated

getBaseType

public Type getBaseType()

Specified by:
getBaseType in interface javax.enterprise.inject.spi.Annotated

getTypeClosure

public Set<Type> getTypeClosure()

Specified by:
getTypeClosure in interface javax.enterprise.inject.spi.Annotated

isAnnotationPresent

public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)

Specified by:
isAnnotationPresent in interface javax.enterprise.inject.spi.Annotated


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.