cincheo / jsweet

A Java to JavaScript transpiler.
http://www.jsweet.org
Other
1.46k stars 161 forks source link

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

Open adligo opened 2 years ago

adligo commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

Hey Thanks! I really appreciate the response!

On Thu, Jan 13, 2022 at 10:45 AM Louis Grignon @.***> wrote:

Hello @adligo https://github.com/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

— Reply to this email directly, view it on GitHub https://github.com/cincheo/jsweet/issues/716#issuecomment-1012314215, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSJQCMY2N3NLWH3XUVVOZDUV36S3ANCNFSM5L2L25LA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

-- Regards, Scott Morgan President & CEO Adligo Inc http://www.adligo.com https://www.linkedin.com/in/scott-morgan-21739415 A+ Better Business Bureau Rating https://www.bbb.org/chicago/business-reviews/computer-software-publishers-and-developers/adligo-inc-in-chicago-il-88381256 https://github.com/adligo

By Appointment Only: 1-866-968-1893 Ex 101 @.** skype:adligo1?call Send Me Files Securely: https://www.sendthisfile.com/f.jsp?id=ewOnyeFQM18IDRf7MMIdolfI https://www.sendthisfile.com/f.jsp?id=ewOnyeFQM18IDRf7MMIdolfI* https://discord.com/ Adligo#3066