private JClassType getType(TypeOracle oracle, Class cls) { try { return oracle.getType(cls.getName()); } catch (NotFoundException e) { throw new RuntimeException(e); } }