Bug 422390 - [syntax coloring][regression] "Function declarations" setting broke anonymous function body coloring

org.eclipse.wst.jsdt.core.dom.ASTConverter.convert(AbstractMethodDeclaration) is made not to use org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.getName() method
to get the function name, because the methor may return inferred method name instead of null in case of function expressions.
org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.selector modifier is returned to 'public' due to allow it's usage in ASTConverter.convert()

Signed-off-by: vrubezhny <vrubezhny@exadel.com>
2 files changed
tree: 42268bd8e91c7138801c81f4ad974e69e17dc667
  1. bundles/
  2. development/
  3. docs/
  4. features/
  5. .gitignore
  6. pom.xml