Skip to content

I20220331-1800

@jjohnstn jjohnstn tagged this 31 Mar 02:04
- add new newDefaultExpression() method to ASTNodeFactory that
  also takes an ITypeBinding
- remove check for "Optional" in newDefaultExpression() where a
  Type is provided but not an ITypeBinding
- modify StubUtility2.createImplementationStub() to call new
  newDefaultExpression() method with the type binding it has already
  added to imports to create return type
- ditto for StubUtility2Core.createImplementationStubCore()

Change-Id: I3e7a233d7951bf79da3180ea7cba60907c2d365f
Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/192385
Tested-by: JDT Bot <jdt-bot@eclipse.org>
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Assets 2
Loading