Langage

AccessibleObject.GetDeclaredAnnotations Méthode

Définition

Retourne des annotations directement présentes sur cet objet.

[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[]

Retours

annotations directement présentes sur cet objet

Implémente

Attributs

Remarques

Ajouté à la version 1.5.

Documentation Java pour java.lang.reflect.AccessibleObject.getDeclaredAnnotations().

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à