1 package spoon.reflect.code;2 3 import java.util.List ;4 5 import spoon.reflect.declaration.CtElement;6 import spoon.reflect.reference.CtExecutableReference;7 8 /**9 * This code element defines an abstract invocation on a10 * {@link spoon.reflect.declaration.CtExecutable}.11 * 12 * @param <T> Return type of this invocation13 */14 public interface CtAbstractInvocation<T> extends CtElement {15 /**16 * The arguments of the invocation.17 * @return the expressions that define the values of the arguments18 */19 List <CtExpression<?>> getArguments();20 21 /**22 * Returns the invoked executable.23 */24 CtExecutableReference<T> getExecutable();25 26 /**27 * Sets the invocation's arguments.28 */29 void setArguments(List <CtExpression<?>> arguments);30 31 /**32 * Sets the invoked executable.33 */34 void setExecutable(CtExecutableReference<T> executable);35 }36