KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > reflect > code > CtAbstractInvocation


1 package spoon.reflect.code;
2
3 import java.util.List JavaDoc;
4
5 import spoon.reflect.declaration.CtElement;
6 import spoon.reflect.reference.CtExecutableReference;
7
8 /**
9  * This code element defines an abstract invocation on a
10  * {@link spoon.reflect.declaration.CtExecutable}.
11  *
12  * @param <T> Return type of this invocation
13  */

14 public interface CtAbstractInvocation<T> extends CtElement {
15     /**
16      * The arguments of the invocation.
17      * @return the expressions that define the values of the arguments
18      */

19     List JavaDoc<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 JavaDoc<CtExpression<?>> arguments);
30
31     /**
32      * Sets the invoked executable.
33      */

34     void setExecutable(CtExecutableReference<T> executable);
35 }
36
Popular Tags