@Override
    public boolean valid(PsiType type) {
      final String text = type.getCanonicalText();
      return PsiTypes.intType().equals(type) ||
             CommonClassNames.JAVA_LANG_INTEGER.equals(text) ||
             PsiTypes.longType().equals(type) ||
             CommonClassNames.JAVA_LANG_LONG.equals(text) ||
             PsiTypes.shortType().equals(type) ||
             CommonClassNames.JAVA_LANG_SHORT.equals(text) ||
             PsiTypes.byteType().equals(type) ||
             CommonClassNames.JAVA_LANG_BYTE.equals(text) ||
             "java.math.BigInteger".equals(text);
    }
@Override
    public boolean valid(PsiType type)