1 package spoon.reflect.declaration; 2 3 import java.util.List ; 4 import java.util.Set ; 5 6 import spoon.reflect.reference.CtTypeReference; 7 8 15 public interface CtSimpleType<T> extends CtNamedElement { 16 19 public static final String INNERTTYPE_SEPARATOR = "$"; 20 21 26 Class <T> getActualClass(); 27 28 32 34 40 CtSimpleType<?> getDeclaringType(); 41 42 47 CtField<?> getField(String name); 48 49 53 List <CtField<?>> getFields(); 54 55 58 CtSimpleType<?> getNestedType(String name); 59 60 64 Set <CtSimpleType<?>> getNestedTypes(); 65 66 69 CtPackage getPackage(); 70 71 74 String getQualifiedName(); 75 76 CtTypeReference<T> getReference(); 77 78 82 boolean isTopLevel(); 83 84 87 void setFields(List <CtField<?>> fields); 88 89 92 void setNestedTypes(Set <CtSimpleType<?>> nestedTypes); 93 94 } 95 | Popular Tags |