-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request