});
}
private static boolean isFileStringLiteral(@NotNull JSLiteralExpression literalExpression) {
if (literalExpression.isQuotedLiteral()) {
JSArrayLiteralExpression arrayLiteralExpression = ObjectUtils.tryCast(literalExpression.getParent(), JSArrayLiteralExpression.class);
if (arrayLiteralExpression != null) {
JSProperty property = ObjectUtils.tryCast(arrayLiteralExpression.getParent(), JSProperty.class);
if (property != null) {
String name = JsPsiUtils.getPropertyName(property);
return FILES_VAR_NAME.equals(name);
}
}