RecordComponent.GetDeclaredAnnotations 方法

定义

要添加

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

返回

实现

属性

注解

要添加

请注意,此方法返回的任何注释都是声明注释。

Java文档java.lang.reflect.RecordComponent.getDeclaredAnnotations()

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于