AccessibleObject.GetDeclaredAnnotations Method

Definition

Returns annotations that are directly present on this object.

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

Returns

annotations directly present on this object

Implements

Attributes

Remarks

Added in 1.5.

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

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