• Andy Wilkinson's avatar
    Support concise @Grab on all types of imports · fd2583ed
    Andy Wilkinson authored
    Previously, the automatic addition of the group and version to a
    @Grab annotation based on the module name would only work on standard
    import statements. This commit adds support for this functionality
    on wildcard imports, static imports and wildcard static imports.
    
    All of the following are now supported:
    
    @Grab('spring-core')
    import org.springframework.util.Assert
    
    @Grab('spring-core')
    import org.springframework.util.*
    
    @Grab('spring-core')
    import static org.springframework.util.Assert.isTrue
    
    @Grab('spring-core')
    import static org.springframework.util.Assert.*
    fd2583ed
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-javadoc Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
README.md Loading commit data...
pom.xml Loading commit data...