AccessibleObject.GetAnnotations Method

Definition

Returns, for this element, an array containing all annotations (including inherited annotations).

[Android.Runtime.Register("getAnnotations", "()[Ljava/lang/annotation/Annotation;", "GetGetAnnotationsHandler")]
public virtual Java.Lang.Annotation.IAnnotation[] GetAnnotations ();
[<Android.Runtime.Register("getAnnotations", "()[Ljava/lang/annotation/Annotation;", "GetGetAnnotationsHandler")>]
abstract member GetAnnotations : unit -> Java.Lang.Annotation.IAnnotation[]
override this.GetAnnotations : unit -> Java.Lang.Annotation.IAnnotation[]

Returns

IAnnotation[]

Implements

Attributes

Remarks

Java documentation for java.lang.reflect.AccessibleObject.getAnnotations().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to