1 package spoon.reflect.reference; 2 3 import java.lang.reflect.Constructor ; 4 import java.lang.reflect.Method ; 5 import java.util.List ; 6 7 import spoon.reflect.declaration.CtExecutable; 8 9 15 public interface CtExecutableReference<T> extends CtReference, 16 CtGenericElementReference, CtModifiableReference { 17 18 24 Method getActualMethod(); 25 26 32 Constructor getActualConstructor(); 33 34 CtExecutable<T> getDeclaration(); 35 36 39 CtTypeReference<?> getDeclaringType(); 40 41 44 List <CtTypeReference<?>> getParameterTypes(); 45 46 49 CtTypeReference<T> getType(); 50 51 55 boolean isOverloading(CtExecutableReference<?> executable); 56 57 61 CtExecutableReference<?> getOverloadedExecutable(); 62 63 75 <S extends T> CtExecutableReference<S> getOverloadingExecutable( 76 CtTypeReference<?> subType); 77 78 81 boolean isStatic(); 82 83 86 void setDeclaringType(CtTypeReference<?> declaringType); 87 88 91 void setParameterTypes(List <CtTypeReference<?>> parameterTypes); 92 93 96 void setStatic(boolean b); 97 98 101 void setType(CtTypeReference<T> type); 102 103 106 boolean isFinal(); 107 } 108 | Popular Tags |