I am trying to make a delegate of java.nio.file.spi.FileSystemProvider.
I write out:
@AutoDelegate(FileSystemProvider.class)
public class MyFileSystemProvider extends AutoDelegate_MyFileSystemProvider {
public MyFileSystemProvider() {
super(null); // TODO
}
}
but unfortunately this fails:
java.lang.IllegalStateException: A mismatch between the number of interfaces found on the declaring class that correspond to the delegation targets specified via the AutoDelegate annotation. Are you sure your type implements all of the delegation targets?
at com.ryandens.delegation.AutoDelegateProcessor.process (AutoDelegateProcessor.java:111)
Normally I would implements the service type directly, but in this case the service type is an abstract class, not an interface.
I am trying to make a delegate of
java.nio.file.spi.FileSystemProvider.I write out:
but unfortunately this fails:
Normally I would
implementsthe service type directly, but in this case the service type is an abstract class, not an interface.