class AidlAnnotatable

Defined at line 341 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

Public Methods

void AidlAnnotatable (const AidlLocation & location, const Comments & comments)
void Annotate (vector<std::unique_ptr<AidlAnnotation>> && annotations)

Defined at line 347 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const vector<std::unique_ptr<AidlAnnotation>> & GetAnnotations ()

Defined at line 387 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

bool IsNullable ()
bool IsHeapNullable ()
bool IsUtf8InCpp ()
bool IsSensitiveData ()
bool IsVintfStability ()
bool IsJavaOnlyImmutable ()
bool IsFixedSize ()
bool IsStableApiParcelable (Options::Language lang)
bool JavaDerive (const std::string & method)
bool IsJavaDefault ()
bool IsJavaDelegator ()
std::string GetDescriptor ()
const AidlAnnotation * UnsupportedAppUsage ()
std::vector<std::string> RustDerive ()
const AidlAnnotation * BackingType ()
std::vector<std::string> SuppressWarnings ()
std::unique_ptr<android::aidl::perm::Expression> EnforceExpression ()
bool IsPermissionManual ()
bool IsPermissionNone ()
bool IsPermissionAnnotated ()
bool IsPropagateAllowBlocking ()
std::string ToString ()

ToString is for dumping AIDL.

Returns string representation of annotations.

e.g) "@JavaDerive(toString=true) @RustDerive(Clone=true, Copy=true)"

bool CheckValid (const AidlTypenames & )
void ~AidlAnnotatable ()

Defined at line 345 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

void TraverseChildren (std::function<void (const AidlNode &)> traverse)

Defined at line 389 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h