mojohaus / animal-sniffer

https://www.mojohaus.org/animal-sniffer/animal-sniffer-maven-plugin/
MIT License
86 stars 44 forks source link

Unable to detect unsupported method parameter types #214

Open qurbonzoda opened 2 years ago

qurbonzoda commented 2 years ago

The library doesn't detect violations in parameter types. If unsupported types are not used in the method body, no violations are reported. e.g:

public class Main {
    private static String encode(Base64.Encoder encoder, byte[] value) {
        throw new UnsupportedOperationException("Not implemented");
    }
}