Skip to content

Commit

Permalink
[jnigen] Close #1354 (#1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
HosseinYousefi authored Sep 12, 2024
1 parent 866dce6 commit c15b4b0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkgs/jnigen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- Fixed an issue where inheriting a generic class could generate incorrect code.
- No longer generating constructors for abstract classes.
- No longer generating `protected` elements.
- Fixed an issue where synthetic methods caused code generation to fail.

## 0.11.0

Expand Down
4 changes: 4 additions & 0 deletions pkgs/jnigen/lib/src/elements/elements.dart
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,11 @@ class Param implements Element<Param> {

final List<Annotation> annotations;
final JavaDocComment? javadoc;

// Synthetic methods might not have parameter names.
@JsonKey(defaultValue: 'synthetic')
final String name;

final TypeUsage type;

/// Populated by [Renamer].
Expand Down
2 changes: 1 addition & 1 deletion pkgs/jnigen/lib/src/elements/elements.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c15b4b0

Please sign in to comment.