Skip to content

I20240502-1800

@jjohnstn jjohnstn tagged this 02 May 16:23
* Fix inline method to check access modifiers of inlined code

- add new checkAccessCompatible() method to SourceProvider that
  checks if code from declaration can be moved to target without
  causing an access violation
- add new AccessVisitor to SourceAnalyzer to log non-public
  accesses (private, package-private, and protected)
- add call to checkAccessCompatible() in CallInliner
- add new tests to InlineMethodTests
- fixes #1358
Assets 2
Loading