Seesaw has the same problem with paintComponent. IIRC, it's because it's protected. I never found a workaround.
Dave On Sunday, December 22, 2013, Colin Fleming wrote: > I actually just wrote a long reply detailing how to type hint 'this', and > then noticed that you've already done that! This exact case > (paintComponent) is the one reflection warning I can't get rid of in the > whole Cursive codebase, I can't figure it out either. > > > On 23 December 2013 01:03, Jim - FooBar(); > <jimpil1...@gmail.com<javascript:_e({}, 'cvml', 'jimpil1...@gmail.com');> > > wrote: > >> Hi all, >> >> is there any way to get rid of reflection in simmilar looking? Nothing >> seems to work... >> >> (proxy [JPanel ActionListener KeyListener] [] >> (paintComponent [^java.awt.Graphics g] >> (let [^JPanel this this] >> (proxy-super paintComponent g)) >> >> >> thanks in advance... :) >> >> Jim >> >> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to >> clojure@googlegroups.com<javascript:_e({}, 'cvml', >> 'clojure@googlegroups.com');> >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+unsubscr...@googlegroups.com <javascript:_e({}, 'cvml', >> 'clojure%2bunsubscr...@googlegroups.com');> >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+unsubscr...@googlegroups.com <javascript:_e({}, 'cvml', >> 'clojure%2bunsubscr...@googlegroups.com');>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to > clojure@googlegroups.com<javascript:_e({}, 'cvml', > 'clojure@googlegroups.com');> > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com <javascript:_e({}, 'cvml', > 'clojure%2bunsubscr...@googlegroups.com');> > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com <javascript:_e({}, 'cvml', > 'clojure%2bunsubscr...@googlegroups.com');>. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.