package com.yandex.money.api.model.showcase.components;

public class Undefined extends Component {

    @Override
    public boolean isValid() {
        return true;
    }
}

@@ -57,16 +57,22 @@
 %0Apublic 
+final 
 class Un
@@ -100,16 +100,189 @@
 nent %7B%0A%0A
+    private static final Undefined INSTANCE = new Undefined();%0A%0A    private Undefined() %7B%0A    %7D%0A%0A    public static Component getInstance() %7B%0A        return INSTANCE;%0A    %7D%0A%0A
     @Ove

Make "Undefined" final and singleton