Bug P2
Status Update
Comments
ju...@google.com <ju...@google.com> #2
This is a good idea and definitely worth investigating.
I think there's something to be said about what scope these coroutines would run in, but it should be possible to pass it back from adapter internally.
Description
I noticed today that Dackka seems to append
()
when generating anchors for Java fields.Example:https://developer.android.com/reference/androidx/media/AudioAttributesCompat#CONTENT_TYPE_MOVIE()
This is generated from the following Java ( source ):
Aside from the AndroidX style guide, nothing stops the
AudioAttributesCompat
class also have a zero-args method calledCONTENT_TYPE_MOVIE
, something like:How would Dackka disambiguate between these elements in this case?
A more realistic/risky example is because it's lowercase, so it's much more plausible that an identically-named method could also exist.
androidx.media3.common.Format#id
I would expect Dackka to generate the following links instead (i.e. only suffix parentheses for methods):
public static final int CONTENT_TYPE_MOVIE