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

looking to improve docs on java.lang.Class and also Generics #716

Open
adligo opened this issue Jan 13, 2022 · 2 comments
Open

looking to improve docs on java.lang.Class and also Generics #716

adligo opened this issue Jan 13, 2022 · 2 comments

Comments

@adligo
Copy link

adligo commented Jan 13, 2022

Hi All,

I'm looking for a bit more documentation about Generics and java.lang.Class traspilation, I working through code like this, hoping to leverage JSweets :) ;
https://github.com/adligo/ctx.adligo.org/blob/main/src/org/adligo/ctx/shared/Ctx.java

@lgrignon
Copy link
Collaborator

Hello @adligo
First, you can browse the official documentation (if not done yet obviously :)) and if you want more info on how JSweet transpiles Class / Method calls, you can take a look at this piece of code which is the most important for your matter:

https://github.com/cincheo/jsweet/blob/develop/transpiler/src/main/java/org/jsweet/transpiler/extension/RemoveJavaDependenciesAdapter.java#L446

@adligo
Copy link
Author

adligo commented Jan 13, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants