AccessibleObject.GetAnnotations Method

Definition

Returns annotations that are present on this object.

[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

annotations present on this object

Implements

Attributes

Remarks

Added in 1.5.

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