Would it make sense to make this a class function with the node as a parameter, instead of making a new object and then calling an instance method on said object?

```ruby
Opscode::OpenJDK.java_location(node)
```