We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb5b9d7 commit bfa87bfCopy full SHA for bfa87bf
pkgs/jnigen/lib/src/bindings/preprocessor.dart
@@ -38,6 +38,13 @@ abstract class ApiPreprocessor {
38
decl.isIncluded = false;
39
log.fine('exclude class ${decl.binaryName}');
40
decl.isPreprocessed = true;
41
+ // Excluding all the class's methods and fields
42
+ for (final method in decl.methods) {
43
+ method.isIncluded = false;
44
+ }
45
+ for (final field in decl.fields) {
46
+ field.isIncluded = false;
47
48
return;
49
}
50
if (decl.parentName != null && classes.containsKey(decl.parentName!)) {
0 commit comments