All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gw.lang.reflect.features.IInvokableFeatureReference Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.lang.reflect.features;

import gw.lang.PublishedName;

public interface IInvokableFeatureReference extends IFeatureReference
{
  /**
   * Evaluates reflectively
   */
  Object evaluate( Object... args );

  /**
   * Returns the method reference as a block in an invocation-friendly syntax
   */
  @PublishedName("invoke")
  T getInvoke();

  /**
   * Returns the method reference as a block in a transformation-friendly syntax
   */
  T toBlock();

  /**
   * @return an array of bound values if the feature had them, and null otherwise
   */
  Object[] getBoundArgValues();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy