/** * @param b true to set static, false otherwise */ public Modifiers toStatic(boolean b) { return convert(toStatic(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)); }
/** * When set private, the bitmask is cleared from being public or protected. * * @param b true to set private, false otherwise */ public Modifiers toPrivate(boolean b) { return convert(toPrivate(mBitmask, b)); }
/** * @param b true to set strictfp, false otherwise */ public Modifiers toStrict(boolean b) { return convert(toStrict(mBitmask, b)); }
/** * Used to identify if a method is a bridge method. * * @param b true to set bridge, false otherwise */ public Modifiers toBridge(boolean b) { return convert(toBridge(mBitmask, b)); }
/** * Used to identify if a method accepts a variable amount of * arguments. * * @param b true to set varargs, false otherwise */ public Modifiers toVarArgs(boolean b) { return convert(toVarArgs(mBitmask, b)); }
/** * When set final, the bitmask is cleared from being an interface or * abstract. * * @param b true to set final, false otherwise */ public Modifiers toFinal(boolean b) { return convert(toFinal(mBitmask, b)); }
/** * When set native, non-native-method settings are cleared. * * @param b true to set native, false otherwise */ public Modifiers toNative(boolean b) { return convert(toNative(mBitmask, b)); }
/** * When set public, the bitmask is cleared from being private or protected. * * @param b true to set public, false otherwise */ public Modifiers toPublic(boolean b) { return convert(toPublic(mBitmask, b)); }
/** * When set protected, the bitmask is cleared from being public or private. * * @param b true to set protected, false otherwise */ public Modifiers toProtected(boolean b) { return convert(toProtected(mBitmask, b)); }
/** * When set volatile, non-field settings are cleared. * * @param b true to set volatile, false otherwise */ public Modifiers toVolatile(boolean b) { return convert(toVolatile(mBitmask, b)); }
/** * When set transient, non-field settings are cleared. * * @param b true to set transient, false otherwise */ public Modifiers toTransient(boolean b) { return convert(toTransient(mBitmask, b)); }
/** * When set abstract, the bitmask is cleared from being final, volatile, * transient, native, synchronized, and strictfp. When cleared from being * abstract, the bitmask is also cleared from being an interface. * * @param b true to set abstract, false otherwise */ public Modifiers toAbstract(boolean b) { return convert(toAbstract(mBitmask, b)); }
/** * Used to identify if a field is an enum constant. * * @param b true to set enum, false otherwise */ public Modifiers toEnum(boolean b) { return convert(toEnum(mBitmask, b)); }
/** * When set synchronized, non-method settings are cleared. * * @param b true to set synchronized, false otherwise */ public Modifiers toSynchronized(boolean b) { return convert(toSynchronized(mBitmask, b)); }
/** * When set public, the bitmask is cleared from being private or protected. * * @param b true to set public, false otherwise */ public Modifiers toPublic(boolean b) { return convert(toPublic(mBitmask, b)); }
/** * @param b true to set static, false otherwise */ public Modifiers toStatic(boolean b) { return convert(toStatic(mBitmask, b)); }
/** * When set native, non-native-method settings are cleared. * * @param b true to set native, false otherwise */ public Modifiers toNative(boolean b) { return convert(toNative(mBitmask, b)); }
/** * When set abstract, the bitmask is cleared from being final, volatile, * transient, native, synchronized, and strictfp. When cleared from being * abstract, the bitmask is also cleared from being an interface. * * @param b true to set abstract, false otherwise */ public Modifiers toAbstract(boolean b) { return convert(toAbstract(mBitmask, b)); }
/** * Used to identify if a method is a bridge method. * * @param b true to set bridge, false otherwise */ public Modifiers toBridge(boolean b) { return convert(toBridge(mBitmask, b)); }