Home | History | Annotate | Download | only in check

Lines Matching full:expression

45    * @param expression
46 * the boolean expression of the check
51 public static boolean isLegal(boolean expression) {
52 return isLegal(expression, ""); //$NON-NLS-1$
60 * @param expression
61 * the boolean expression of the check
68 public static boolean isLegal(boolean expression, String message) {
69 if (!expression) {
72 return expression;
243 * @param expression
244 * the boolean expression of the check
247 public static boolean isTrue(boolean expression) {
248 return isTrue(expression, ""); //$NON-NLS-1$
256 * @param expression
257 * the boolean expression of the check
262 public static boolean isTrue(boolean expression, String message) {
263 if (!expression) {
266 return expression;
274 * @param expression
275 * the boolean expression of the check
284 public static boolean isTrue(boolean expression, String errorFormat, Object... args) {
285 if (!expression) {
288 return expression;
296 * @param expression
297 * the boolean expression to check.
302 public static boolean isTrue2(boolean expression, String errorFormat, Object... args) {
303 if (!expression) {
306 return expression;