@Override public Class<?> getExpectedType() { return _expr.getExpectedType(); }
@Override public Class<?> getExpectedType() { return valueExpression.getExpectedType(); }
@Override public Class<?> getExpectedType() { return _wrapped.getExpectedType(); }
@Override public Class<?> getExpectedType() { return expression.getExpectedType(); }
@Override public Class<?> getExpectedType() { return this.target.getExpectedType(); }
@Override public Class<?> getExpectedType() { return wrapped.getExpectedType(); }
@Override public Class<?> getExpectedType() { return delegate.getExpectedType(); }
@Override public Class<?> getExpectedType() { return delegate.getExpectedType(); }
@Override public Class<?> getExpectedType() { return this.valueExpression.getExpectedType(); }
@Override public Class<?> getExpectedType() { return getWrapped().getExpectedType(); }
public static boolean equivalent(ValueExpression e, ValueExpression e2) { return e == e2 || (e != null && e.getExpressionString().equals(e2.getExpressionString()) && e.getExpectedType().equals( e2.getExpectedType())); }
public static boolean equivalent(ValueExpression e, ValueExpression e2) { return e == e2 || (e != null && e.getExpressionString().equals(e2.getExpressionString()) && e.getExpectedType().equals( e2.getExpectedType())); }
@SuppressWarnings({"rawtypes", "unchecked"}) @Override public Class getExpectedType() { return delegate().getExpectedType(); }
@Override public Class<?> getExpectedType() { return getWrapped().getExpectedType(); }
@Override protected void describe(StringBuilder buf) { buf.append(format("(%s)%s", expression.getExpectedType().getSimpleName(), expression.getExpressionString())); } }
@Override public String toString() { return String.format("(%s)%s", value.getExpectedType().getSimpleName(), value.getExpressionString()); } }
@Override public String toString() { return String.format("(%s)%s", value.getExpectedType().getSimpleName(), value.getExpressionString()); } }
@SuppressWarnings({"rawtypes", "unchecked"}) @Override public Class getExpectedType() { return delegate().getExpectedType(); }
private static boolean same(Object o1, Object o2) { if (o1 instanceof ValueExpression && o2 instanceof ValueExpression) { ValueExpression ve1 = (ValueExpression) o1; ValueExpression ve2 = (ValueExpression) o2; if (same(ve1.getExpressionString(), ve2.getExpressionString()) && same(ve1.getExpectedType(), ve2.getExpectedType())) { return true; } } return (o1 != null && o1.equals(o2)) || (o1 == null && o2 == null); } }
@Override public Class<?> getExpectedType() { FacesContext ctx = FacesContext.getCurrentInstance(); boolean pushed = pushCompositeComponent(ctx); try { return originalVE.getExpectedType(); } finally { if (pushed) { popCompositeComponent(ctx); } } }