GrSignature (@NotNull MethodSignature signature) { final PsiType[] types = signature.getParameterTypes(); GrClosureParameter[] parameters = ContainerUtil.map(types, type -> new GrImmediateClosureParameterImpl(type, null, false, null), new GrClosureParameter[types.length] ); return new GrImmediateClosureSignatureImpl(parameters, null, false, false); }