Skip to content

Bug - MethodNames with arrays and generics

Description

The following method names are not parsed properly

    private void runJob(final Message msg,
                        final MessageRelay.ReplySender replySender,
                        final Gauge gauge) {
    default Assignment findExisting(final String id) {
        return this.findById(id).orElseThrow(
                () -> new NoSuchAssignmentException("There is no assignment with ID " + id)
        );
    }

(Lizard does not like interfaces, and cannot parse the class)

public static void main(final String[] args)

Priority - Medium

Benchmarking will not work for these methods.

Definition of done

When the MethodNameTransformer works with these methods.