package cucumber.runtime.java8;

import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;

class ParameterInfo {
    private final Type type;

    static List<ParameterInfo> fromTypes(Type[] genericParameterTypes) {
        List<ParameterInfo> result = new ArrayList<>();
        for (Type genericParameterType : genericParameterTypes) {
            for (Annotation annotation : genericParameterType.getClass().getAnnotations()) {
                System.out.println(annotation.toString());
            }


            result.add(new ParameterInfo(genericParameterType));
        }
        return result;
    }

    private ParameterInfo(Type type) {
        this.type = type;
    }

    Type getType() {
        return type;
    }

    @Override
    public String toString() {
        return type.toString();
    }

}

@@ -30,48 +30,8 @@
 8;%0A%0A
-import java.lang.annotation.Annotation;%0A
 impo
@@ -360,176 +360,8 @@
 ) %7B%0A
-            for (Annotation annotation : genericParameterType.getClass().getAnnotations()) %7B%0A                System.out.println(annotation.toString());%0A            %7D%0A%0A%0A
     

Remove debug statements