AAPT2: Forward @TestApi in resource comments to JavaDoc
Bug: 37894597 Test: make aapt2_tests Change-Id: I357fb84941bfbb3892a8c46feb47f55b865b6649
This commit is contained in:
@@ -18,12 +18,12 @@
|
||||
|
||||
#include "androidfw/StringPiece.h"
|
||||
|
||||
using android::StringPiece;
|
||||
using ::android::StringPiece;
|
||||
|
||||
namespace aapt {
|
||||
|
||||
void ClassMember::WriteToStream(const StringPiece& prefix, bool final, std::ostream* out) const {
|
||||
processor_.WriteToStream(out, prefix);
|
||||
processor_.WriteToStream(prefix, out);
|
||||
}
|
||||
|
||||
void MethodDefinition::AppendStatement(const StringPiece& statement) {
|
||||
@@ -81,9 +81,8 @@ constexpr static const char* sWarningHeader =
|
||||
" * should not be modified by hand.\n"
|
||||
" */\n\n";
|
||||
|
||||
bool ClassDefinition::WriteJavaFile(const ClassDefinition* def,
|
||||
const StringPiece& package, bool final,
|
||||
std::ostream* out) {
|
||||
bool ClassDefinition::WriteJavaFile(const ClassDefinition* def, const StringPiece& package,
|
||||
bool final, std::ostream* out) {
|
||||
*out << sWarningHeader << "package " << package << ";\n\n";
|
||||
def->WriteToStream("", final, out);
|
||||
return bool(*out);
|
||||
|
||||
Reference in New Issue
Block a user