javax.enterprise.inject.spi
Interface AnnotatedMember<X>

Type Parameters:
X - the declaring type
All Superinterfaces:
Annotated
All Known Subinterfaces:
AnnotatedCallable<X>, AnnotatedConstructor<X>, AnnotatedField<X>, AnnotatedMethod<X>

public interface AnnotatedMember<X>
extends Annotated

Represents a member of a Java type.

Author:
Gavin King, Pete Muir
See Also:
Member

Method Summary
 AnnotatedType<X> getDeclaringType()
          Get the type which declares this member.
 java.lang.reflect.Member getJavaMember()
          Get the underlying Member.
 boolean isStatic()
          Determines if the member is static.
 
Methods inherited from interface javax.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
 

Method Detail

getJavaMember

java.lang.reflect.Member getJavaMember()

Get the underlying Member.

Returns:
the Member

isStatic

boolean isStatic()

Determines if the member is static.

Returns:
true if the member is static

getDeclaringType

AnnotatedType<X> getDeclaringType()

Get the type which declares this member.

Returns:
the type which declares this member


Submit a bug or feature

Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 4-June-2010 04:34