void () { PsiReferenceExpression ref = configure(); PsiType type = ref.getType(); assertTrue(type instanceof PsiClassType); PsiType[] paramTypes = ((PsiClassType)type).getParameters(); assertEquals(1, paramTypes.length); assertEquals( "java.lang.String", paramTypes[0].getCanonicalText()); }