/** * When set as an interface, non-interface settings are cleared and the * bitmask is set abstract. * * @param b true to set interface, false otherwise */ public Modifiers toInterface(boolean b) { return convert(toInterface(mBitmask, b)); }
/** * When set as an interface, non-interface settings are cleared and the * bitmask is set abstract. * * @param b true to set interface, false otherwise */ public Modifiers toInterface(boolean b) { return convert(toInterface(mBitmask, b)); }
cf.setModifiers(Modifiers.PUBLIC.toInterface(true)); cf.addInterface(Remote.class); TypeDesc exType = TypeDesc.forClass(RemoteException.class);