boolean (@NotNull MethodSignature signature) { PsiType[] parameterTypes = signature.getParameterTypes(); if (parameterTypes.length == 1 && parameterTypes[0] != null) { if (TypeConversionUtil.isAssignable(PsiTypes.intType(), parameterTypes[0])) { return true; } if (parameterTypes[0] instanceof PsiClassType) { return ((PsiClassType)parameterTypes[0]).resolve() instanceof PsiTypeParameter; } } return false; }