vladimirkl/cucumber-jvm — comment on commit 6ec33aa68ef7272dc3b4d0f3690676dd24c9e082
File: java/src/main/java/cucumber/runtime/java/ClasspathMethodScanner.java line 27
By vladimirkl:

Putting isInterface() check to isInstantiable() won't work. isInstantiable() already returns false for interface. Exception occurs because glueCodeClass.getSuperclass() returns null. I may put several null checks instead checking isInterface() but this seems to be more intrusive refactoring.