1 package spoon.reflect.declaration; 2 3 import java.util.Set ; 4 5 import spoon.reflect.reference.CtTypeReference; 6 7 11 public interface CtType<T> extends CtSimpleType<T>, CtGenericElement { 12 13 17 Set <CtMethod<?>> getAllMethods(); 18 19 24 <R> CtMethod<R> getMethod(CtTypeReference<R> returnType, String name, 25 CtTypeReference<?>... parameterTypes); 26 27 32 CtMethod<?> getMethod(String name, CtTypeReference<?>... parameterTypes); 33 34 38 Set <CtMethod<?>> getMethods(); 39 40 44 Set <CtTypeReference<?>> getSuperInterfaces(); 45 46 49 void setMethods(Set <CtMethod<?>> methods); 50 51 54 void setSuperInterfaces(Set <CtTypeReference<?>> interfaces); 55 56 59 boolean isSubtypeOf(CtTypeReference<?> type); 60 61 } | Popular Tags |