Kotlin Uast: Support object literals

This commit is contained in:
Yan Zhulanow
2016-03-15 20:41:28 +03:00
parent 78ce025ca3
commit 862f824bcc
9 changed files with 239 additions and 16 deletions
@@ -859,9 +859,6 @@ public class ApiDetector extends ResourceXmlDetector
owner = null;
}
} else if (owner.startsWith("java/")) { //$NON-NLS-1$
if (owner.equals(LocaleDetector.DATE_FORMAT_OWNER)) {
checkSimpleDateFormat(context, method, node, minSdk);
}
// Already inlined; see comment above
owner = null;
} else if (node.getOpcode() == Opcodes.INVOKEVIRTUAL) {