/** * Returns interfaces directly implemented by this type. * * @return a List of the interfaces directly implemented by this type */ @SuppressWarnings("unchecked") public List getInterfaces() throws IOException, SDWPException { Klass[] interfaces = klass.getInterfaces(); List list = new ArrayList(interfaces.length); for (int i = 0; i != interfaces.length; ++i) { list.add(ptm.lookup(interfaces[i], true)); } return list; }