### Question:
TypeDescriptor implements ElementDescriptor { public String getSimpleName() { return getSimpleName(getRawType()); } TypeDescriptor(TypeDescriptors typeDescriptors, TypeToken<?> typeToken); List<Annotation> getAnnotations(); A getAnnotation(Class<A> annotationClass); boolean hasAnnotation(Class<A> annotationClass); boolean equalTo(TypeDescriptor type); boolean equalTo(Class<?> type); Map<String, FieldDescriptor> getFields(); String getName(); String getSimpleName(); static String getSimpleName(Class<?> cls); Map<ConstructorSignature, ConstructorDescriptor> getConstructors(); Map<MethodSignature, MethodDescriptor> getMethods(); Map<String, BeanProperty> getProperties(); boolean hasField(String fieldName); FieldDescriptor getField(String name); TypeDescriptor resolveGenericParameter(Class<?> genericClass, int genericParam); Class<?> getRawType(); TypeToken<?> getTypeToken(); boolean isPrimitiveOrWrapper(); boolean isSuperTypeOf(TypeDescriptor type); boolean isSuperTypeOf(Class<?> clazz); boolean isSubTypeOf(TypeDescriptor type); boolean isSubTypeOf(Class<?> clazz); boolean isEnum(); ConstructorDescriptor getDefaultConstructor(); Object newInstance(); TypeDescriptors getTypeDescriptors(); @Override final boolean equals(Object obj); @Override final int hashCode(); @Override String toString(); boolean isAbstract(); boolean isArray(); TypeDescriptor getComponentType(); static final BiMap<Class<?>, Class<?>> WRAPPER_TO_PRIMITIVE; }### Answer:
@Test public void simple_name() { TypeDescriptor type = TYPES.get(Cycle.class); assertThat(type.getSimpleName()).isEqualTo("TypeDescriptorTest$Cycle"); type = TYPES.get(TypeDescriptorTest.class); assertThat(type.getSimpleName()).isEqualTo("TypeDescriptorTest"); }