Android Guides | Samples

Java.Lang.Reflect.IAnnotatedElement

This interface provides reflective access to annotation information.

See Also: IAnnotatedElement

Syntax

[Android.Runtime.Register("java/lang/reflect/AnnotatedElement", "", "Java.Lang.Reflect.IAnnotatedElementInvoker")]
public interface IAnnotatedElement : IJavaObject, IDisposable

Remarks

This interface provides reflective access to annotation information.

[Android Documentation]

Requirements

Namespace: Java.Lang.Reflect
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Lang.Reflect.IAnnotatedElement are listed below.

Public Methods

GetAnnotation(Class) : Object
GetAnnotations() : IAnnotation[]
Returns, for this element, an array containing all annotations (including inherited annotations).
GetDeclaredAnnotations() : IAnnotation[]
Returns, for this element, all annotations that are explicitly declared (not inherited).
IsAnnotationPresent(Class) : Boolean