AnnotationInfo


class AnnotationInfo : Parcelable


Represents a parcelable java.lang.annotation.Annotation to be used by the and Android Services.

See Android Parcelable.

Summary

Public constructors

AnnotationInfo(
    annotationName: String,
    annotationValues: (Mutable)List<AnnotationValue!>
)

Constructor to create an AnnotationInfo.

Public functions

Int
Unit
writeToParcel(parcel: Parcel!, i: Int)

Public properties

String

Name of the annotation.

(Mutable)List<AnnotationValue!>

The annotation's field values, if any.

Constants

CREATOR

const val CREATORParcelable.Creator<AnnotationInfo!>!

Public constructors

AnnotationInfo

AnnotationInfo(
    annotationName: String,
    annotationValues: (Mutable)List<AnnotationValue!>
)

Constructor to create an AnnotationInfo.

Parameters
annotationName: String

Name of the annotation e.g. com.java.Foo

annotationValues: (Mutable)List<AnnotationValue!>

the values of the annotation's fields

Public functions

describeContents

fun describeContents(): Int

writeToParcel

fun writeToParcel(parcel: Parcel!, i: Int): Unit

Public properties

name

val nameString

Name of the annotation. For example: com.java.Foo.

values

val values: (Mutable)List<AnnotationValue!>

The annotation's field values, if any.