/** * Create a new data-binding method resolver for instance method resolution. */ public static DataBindingMethodResolver forInstanceMethodInvocation() { return new DataBindingMethodResolver(); }
/** * Register a {@link DataBindingMethodResolver} for instance method invocation purposes * (i.e. not supporting static methods) in addition to the specified property accessors, * typically in combination with a {@link DataBindingPropertyAccessor}. * @see #withMethodResolvers * @see SimpleEvaluationContext#forReadOnlyDataBinding() * @see SimpleEvaluationContext#forReadWriteDataBinding() */ public Builder withInstanceMethods() { this.resolvers = Collections.singletonList(DataBindingMethodResolver.forInstanceMethodInvocation()); return this; }
/** * Register a {@link DataBindingMethodResolver} for instance method invocation purposes * (i.e. not supporting static methods) in addition to the specified property accessors, * typically in combination with a {@link DataBindingPropertyAccessor}. * @see #withMethodResolvers * @see SimpleEvaluationContext#forReadOnlyDataBinding() * @see SimpleEvaluationContext#forReadWriteDataBinding() */ public Builder withInstanceMethods() { this.resolvers = Collections.singletonList(DataBindingMethodResolver.forInstanceMethodInvocation()); return this; }
/** * Create a new data-binding method resolver for instance method resolution. */ public static DataBindingMethodResolver forInstanceMethodInvocation() { return new DataBindingMethodResolver(); }
/** * Register a {@link DataBindingMethodResolver} for instance method invocation purposes * (i.e. not supporting static methods) in addition to the specified property accessors, * typically in combination with a {@link DataBindingPropertyAccessor}. * @see #withMethodResolvers * @see SimpleEvaluationContext#forReadOnlyDataBinding() * @see SimpleEvaluationContext#forReadWriteDataBinding() */ public Builder withInstanceMethods() { this.resolvers = Collections.singletonList(DataBindingMethodResolver.forInstanceMethodInvocation()); return this; }
/** * Create a new data-binding method resolver for instance method resolution. */ public static DataBindingMethodResolver forInstanceMethodInvocation() { return new DataBindingMethodResolver(); }