本文整理了Java中org.babyfish.lang.Arguments.mustNotBeInstanceOfAnyOfValue()
方法的一些代码示例,展示了Arguments.mustNotBeInstanceOfAnyOfValue()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Arguments.mustNotBeInstanceOfAnyOfValue()
方法的具体详情如下:
包路径:org.babyfish.lang.Arguments
类名称:Arguments
方法名:mustNotBeInstanceOfAnyOfValue
暂无
代码示例来源:origin: babyfish-ct/babyfish
protected static <T, S extends Selection<T>> S mustHaveExplicitDataType(
String argumentName, S argumentValue) {
return Arguments.mustNotBeInstanceOfAnyOfValue(
argumentName,
argumentValue,
ParameterExpression.class,
LiteralExpression.class
);
}
代码示例来源:origin: babyfish-ct/babyfish
private UncheckedException(Throwable cause) {
super(
Arguments.mustNotBeInstanceOfAnyOfValue(
"cause",
Arguments.mustNotBeNull("cause", cause),
RuntimeException.class,
Error.class
)
);
}
代码示例来源:origin: babyfish-ct/babyfish
public WhenClause(Expression<Boolean> condition, Expression<? extends R> result) {
this.condition = Arguments.mustNotBeNull("condition", condition);
this.result = Arguments.mustNotBeInstanceOfAnyOfValue(
"result",
Arguments.mustNotBeNull("result", result),
ParameterExpression.class,
LiteralExpression.class);
}
代码示例来源:origin: babyfish-ct/babyfish
public WhenClause(C condition, Expression<? extends R> result) {
this.condition = Arguments.mustNotBeNull("condition", condition);
this.result = Arguments.mustNotBeInstanceOfAnyOfValue(
"result",
Arguments.mustNotBeNull("result", result),
ParameterExpression.class,
LiteralExpression.class);
}
代码示例来源:origin: babyfish-ct/babyfish
@Override
public Expression<R> otherwise(Expression<? extends R> result) {
this.checkState();
Arguments.mustNotBeInstanceOfAnyOfValue(
"result",
this.mustUnderSameCriteriaBuilder(
"result",
Arguments.mustNotBeNull("result", result)
),
ParameterExpression.class,
LiteralExpression.class);
this.otherwiseResult = result;
return this;
}
代码示例来源:origin: babyfish-ct/babyfish
@Override
public Expression<R> otherwise(Expression<? extends R> result) {
this.checkState();
Arguments.mustNotBeInstanceOfAnyOfValue(
"result",
this.mustUnderSameCriteriaBuilder(
"result",
Arguments.mustNotBeNull("result", result)
),
ParameterExpression.class,
LiteralExpression.class);
this.otherwiseResult = result;
return this;
}
内容来源于网络,如有侵权,请联系作者删除!