This is a functional interface and can therefore be used as the assignment target for a lambda expression or action reference.
interface IResourceTypeDetector
Detect the type of a folder.
A resource may be inside a standard source folder or a folder that is dedicated to test code. Detecting in which case a resource is is the purpose of this interface.
The way how a folder is detected as a test folder depends on the implementation.