1109cd96b7
struct types defined using reflection have empty PkgPaths(), due to which they were not added to the generated bpdocs. This CL allows us to generate bpdocs for such struct types. For each field in the struct, the algorithm checks the following and creates a PropertyStruct object accordingly 1. If field is a primitive type (Base condition) 2. If field is another exported struct (Base condition) 3. If field is another struct created using reflection (Recurse) Test: m soong_docs Test: java_sdk_library_import before https://ci.android.com/builds/submitted/7710820/linux/latest/view/java.html#java_sdk_library_import and after https://spandandas.users.x20web.corp.google.com/docs/java.html#java_sdk_library_import Bug: 172797653 Change-Id: I0349e405fd290d427fa0b38a109b4212aace50c6 |
||
---|---|---|
.. | ||
bpdoc | ||
bpglob | ||
bootstrap.go | ||
command.go | ||
config.go | ||
glob.go | ||
writedocs.go |