Skip to content

Instantly share code, notes, and snippets.

@objo
Created March 8, 2011 02:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save objo/859757 to your computer and use it in GitHub Desktop.
Save objo/859757 to your computer and use it in GitHub Desktop.
import org.me.Baz
import org.me.Foo
class Bar
implements MyInterface
def this_method; end
end
package org.me;
public class Baz {
public void call(){
System.out.println("I'm here");
}
}
package org.me;
public class Foo {
public interface MyInterface {
void thisMethod();
}
}
import org.me.Baz
import org.me.Foo
#If I comment out the call to the interface it works :-/
class Bar
#implements MyInterface
def this_method; end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment