Skip to content

Instantly share code, notes, and snippets.

@n8han
Created July 31, 2011 14:39
Show Gist options
  • Save n8han/1116842 to your computer and use it in GitHub Desktop.
Save n8han/1116842 to your computer and use it in GitHub Desktop.
just some stupid idea I had
// Instead of this:
Porthole..MODULE$.apply(new AbstractFunction1() { public static final long serialVersionUID = 0L;
public final String apply(List<Object> paramList) { return Test..MODULE$.test4(paramList);
}
}
// It would be great to have more info in an "AbstractMethod1":
Porthole..MODULE$.apply(new AbstractMethod1() { public static final long serialVersionUID = 0L;
public final String apply(List<Object> paramList) { return Test..MODULE$.test4(paramList);
}
public final java.lang.reflect.Method whoami() {
return Test..MODULE$.class.getMethod("test4", List.class);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment