void (String arg1, String arg2, File vFile, File breakOn, int inclusionLevel, int afterOffset, int beforeOffset, Object changeSet) { class Test3 implements Serializable { Test3(String test, @NotNull String another) {} String some() { return " " + vFile + breakOn + inclusionLevel + changeSet + afterOffset + beforeOffset; } } new Test3(arg1, arg2).some(); }