junit 5.1: extend list of checked @value args (IDEA-188606)

This commit is contained in:
Anna.Kozlova
2018-03-20 17:00:29 +01:00
parent 07060b5fb3
commit 55ec20696b
@@ -119,7 +119,12 @@ class JUnit5MalformedParameterizedInspection : AbstractBaseJavaLocalInspectionTo
"strings" to PsiType.getJavaLangString(method.manager, method.resolveScope),
"ints" to PsiType.INT,
"longs" to PsiType.LONG,
"doubles" to PsiType.DOUBLE)
"doubles" to PsiType.DOUBLE,
"shorts" to PsiType.SHORT,
"bytes" to PsiType.BYTE,
"floats" to PsiType.FLOAT,
"chars" to PsiType.CHAR,
"classes" to PsiType.getJavaLangClass(method.manager, method.resolveScope))
for (valueKey in possibleValues.keys) {
processArrayInAnnotationParameter(valuesSource.findDeclaredAttributeValue(valueKey),