Returns the source unit for this module (single-file compilation context). Provides access to source code, line mappings, and error reporting. @return the SourceUnit, or null if compiled as part of a batch
()
| 536 | * @return the {@link SourceUnit}, or null if compiled as part of a batch |
| 537 | */ |
| 538 | public SourceUnit getContext() { |
| 539 | return context; |
| 540 | } |
| 541 | |
| 542 | private boolean isPackageInfo() { |
| 543 | return context != null && context.getName() != null && context.getName().endsWith("package-info.groovy"); |
no outgoing calls
no test coverage detected