void () { PsiField field = myClass.findFieldByName("STRING_EXPRESSION_CLASS_ARRAY", false); assertNotNull(field); PsiBinaryExpression initializer = (PsiBinaryExpression)field.getInitializer(); assertNotNull(initializer); assertTrue(initializer.getType().equalsToText("java.lang.String")); assertEquals("Integer[].class + \"xxx\"", initializer.getText()); assertEquals("class [Ljava.lang.Integer;xxx", field.computeConstantValue()); }