Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class & method filtering #751

Open
Tracked by #1171
mahesh-hegde opened this issue Sep 30, 2022 · 2 comments
Open
Tracked by #1171

Class & method filtering #751

mahesh-hegde opened this issue Sep 30, 2022 · 2 comments

Comments

@mahesh-hegde
Copy link
Contributor

It's possible to exclude methods on a coarse basis using exclude: in YAML, but in current state it's useful for only excluding problematic methods.

This should be more comprehensive, and preferably similar to ffigen.

@mahesh-hegde
Copy link
Contributor Author

@dcharkes can we add a generator_config label?

@mahesh-hegde
Copy link
Contributor Author

Note to self.

It follow ffigen's config

fields:
    exclude:
       - com.abc.packagename#MY_FIELD

We might want to be able to specify multiple field names under same class

fields:
    exclude:
       - com.abc.packagename
         - 'FIELD_1'
         - 'FIELD_2'

Similarly for methods & entire classes.

@HosseinYousefi HosseinYousefi transferred this issue from dart-archive/jnigen Nov 17, 2023
@HosseinYousefi HosseinYousefi self-assigned this Nov 21, 2023
@HosseinYousefi HosseinYousefi removed their assignment Apr 8, 2024
@HosseinYousefi HosseinYousefi added this to the JNI / JNIgen 0.14.0 milestone May 22, 2024
@HosseinYousefi HosseinYousefi self-assigned this May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants