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