Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inspecting Groovy Object

 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've been playing with Groovy for the past few months. I like it, but sometimes I also get frustated with the dynamic type of Groovy. I tend to use groovy.inspect.swingui.ObjectBrowser.inspect(obj) everytime I encounter an object, which I don't know the type and look it up in the Groovy Doc for all the available methods or properties. This is quite a tedious process and so far no code completion from major IDEs. Am I missing something here? What do you guys normally use while developing Groovy?
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What "major IDEs" are you referring to? Intellij has excellent code completion for Groovy objects. Aside from that, we do what you do. It's just the nature of dynamic languages.
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm referring to Eclipse or NetBeans. Maybe I should give IntelliJ a shot. OK, thanks for your reply
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic