Accept @Enforce on interface definition
The @Enforce annotation may be used on interfaces in combination with
annotations at the method level. If both are present, both are verified.
For now, this is only implemented for the Java backend.
Move permission-related golden tests to its own directory.
Bug: 197828948
Test: atest --host aidl_unittests
Change-Id: I57fe072c616ddc2652bff911adbda1a79841742a
diff --git a/aidl_language.h b/aidl_language.h
index d790e05..7e20e03 100644
--- a/aidl_language.h
+++ b/aidl_language.h
@@ -354,7 +354,7 @@
const AidlAnnotation* RustDerive() const;
const AidlAnnotation* BackingType() const;
std::vector<std::string> SuppressWarnings() const;
- std::unique_ptr<perm::Expression> EnforceExpression(const AidlNode&) const;
+ std::unique_ptr<perm::Expression> EnforceExpression() const;
// ToString is for dumping AIDL.
// Returns string representation of annotations.