@Test public void testAnnotationType() { assertEquals(ServiceTypes.serviceType("apple").annotationType(), ServiceType.class); assertEquals(ServiceTypes.serviceType("apple").annotationType(), appleServiceType.annotationType()); }
public static ServiceType serviceType(String type) { return new ServiceTypeImpl(type); }
ServiceTypes { public static ServiceType serviceType(String type) { return new ServiceTypeImpl(type); } }
ServiceTypes { public static ServiceType serviceType(String type) { return new ServiceTypeImpl(type); } private  ServiceTypes(); }
ServiceTypes { public static ServiceType serviceType(String type) { return new ServiceTypeImpl(type); } private  ServiceTypes(); static ServiceType serviceType(String type); }
ServiceTypes { public static ServiceType serviceType(String type) { return new ServiceTypeImpl(type); } private  ServiceTypes(); static ServiceType serviceType(String type);  }