Package org.springframework.expression.spel

Examples of org.springframework.expression.spel.CompilablePropertyAccessor


  @Override
  public TypedValue getValueInternal(ExpressionState state) throws EvaluationException {
    TypedValue tv = getValueInternal(state.getActiveContextObject(), state.getEvaluationContext(),
        state.getConfiguration().isAutoGrowNullReferences());
    if (this.cachedReadAccessor instanceof CompilablePropertyAccessor) {
      CompilablePropertyAccessor accessor = (CompilablePropertyAccessor) this.cachedReadAccessor;
      this.exitTypeDescriptor = CodeFlow.toDescriptor(accessor.getPropertyType());
    }
    return tv;
  }
View Full Code Here


    @Override
    public TypedValue getValue() {
      TypedValue value = this.ref.getValueInternal(this.contextObject, this.evalContext, this.autoGrowNullReferences);
      if (this.ref.cachedReadAccessor instanceof CompilablePropertyAccessor) {
        CompilablePropertyAccessor accessor = (CompilablePropertyAccessor) this.ref.cachedReadAccessor;
        this.ref.exitTypeDescriptor = CodeFlow.toDescriptor(accessor.getPropertyType());
      }
      return value;
    }
View Full Code Here

TOP

Related Classes of org.springframework.expression.spel.CompilablePropertyAccessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.