Skip to content

Commit 4ff837c

Browse files
xaionaro@dx.centerxaionaro@dx.center
authored andcommitted
fix: support generic return types in specgen and avoid Init/Ctor name collision
specgen: Remove the filter that skipped methods with generic return types (e.g. java.util.List<T>). The javagen code generator already handles these correctly by stripping the type parameter. This adds getServices(), getCharacteristics(), getDescriptors() and many other List-returning methods to the generated specs. javagen: Rename constructor method ID variables from mid*Init to mid*Ctor to avoid collision with Java methods literally named "init" (e.g. DatePicker.init()).
1 parent c5ae7d1 commit 4ff837c

2,033 files changed

Lines changed: 294810 additions & 255676 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

accessibilityservice/accessibility_gesture_event.go

Lines changed: 33 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

accessibilityservice/accessibility_service.go

Lines changed: 96 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

accessibilityservice/accessibility_service_info.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

accessibilityservice/constants.go

Lines changed: 43 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

accessibilityservice/consts/consts.go

Lines changed: 43 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)