changed it to include interface and be compatible with both java 6 (in
which interface is Kind.CLASS)and java 7 (in which interface is
Kind.INTERFACE)