@ServiceInterfaceAnnotation(value = SIMPLE, osgiRegistrationType = Executor.class,
namespace = "ns", revision = "rev", localName = SIMPLE)
- static interface SimpleSI extends AbstractServiceInterface {
+ interface SimpleSI extends AbstractServiceInterface {
}
emptySetOfInterfaces(), "class");
}
- static interface SubSI extends SimpleSI {
+ interface SubSI extends SimpleSI {
}
@ServiceInterfaceAnnotation(value = SUBCLASS2, osgiRegistrationType = ExecutorService.class,
namespace = "ns", revision = "rev", localName = SUBCLASS2)
-
- static interface SubSI2 extends SubSI {
+ interface SubSI2 extends SubSI {
}
}
}
- public static interface HasSomeMethod {
+ public interface HasSomeMethod {
void setSomething(ObjectName objectName);
}
}
@Description("class")
- static interface HasSomeMethodWithAnnotations {
+ interface HasSomeMethodWithAnnotations {
@RequireInterface(SubSI2.class)
@Description("descr")
assertDescriptionOnClass(
HasSomeMethodWithAnnotationsImpl.class,
- new HashSet<Class<?>>(Arrays
+ new HashSet<>(Arrays
.asList(HasSomeMethodWithAnnotations.class)), "class");
}