If you have an anonymous class like
Predicate isEmpty = new Predicate() {
public boolean test(String t) {
return t.isEmpt
If you just want to SEE the bytecode:
javap -c -p -v classfile
^disassemble
^private methods
^verbose, including constant pool and bootstrap methods attribute
But if you want to try to do this at runtime, you're pretty much out of luck (by design, we don't have anything like Expression Trees), as the other answer suggests.