Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benelog/multiline
An implementation of multiline string literals in Java, using Javadoc comments. This project is originated from the blog post of Adrian Walker ( http://www.adrianwalker.org/2011/12/java-multiline-string.html ).
https://github.com/benelog/multiline
Last synced: 6 days ago
JSON representation
An implementation of multiline string literals in Java, using Javadoc comments. This project is originated from the blog post of Adrian Walker ( http://www.adrianwalker.org/2011/12/java-multiline-string.html ).
- Host: GitHub
- URL: https://github.com/benelog/multiline
- Owner: benelog
- Created: 2013-01-21T22:30:51.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-03-13T21:37:37.000Z (almost 8 years ago)
- Last Synced: 2024-04-16T11:04:27.983Z (9 months ago)
- Language: Java
- Homepage:
- Size: 171 KB
- Stars: 102
- Watchers: 8
- Forks: 20
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Multiline
=========An implementation of multiline string literals in Java, using Javadoc comments.
This project is originated from Adrian Walker's blog post ( ).
## Usage
You can use multiline string literals with javadoc comments and '@Multiline' annotation.For example,
/**
DELETE
FROM post
*/
@Multiline static String deleteFromPost;is equivalent to the following expression in Groovy.
static String deleteFromPost = """
DELETE
FROM post
"""## Configuration
- [Maven project with Eclipse](https://github.com/benelog/multiline/wiki/Maven-project-with-Eclipse)
- [Non-Maven Java project with Eclipse](https://github.com/benelog/multiline/wiki/Non-Maven-Java-project-with-Eclipse)## Tips
- [Create a template for Multiline-string in Eclipse](https://github.com/benelog/multiline/wiki/Create-a-template-for-Multiline-string-in-Eclipse)## Release Notes
- [0.1.2](https://github.com/benelog/multiline/wiki/0.1.2) (2015-09-08)
- [0.1.1](https://github.com/benelog/multiline/wiki/0.1.1) (2012-01-28)
- 0.1.0 : the source code from [Adrian Walker's blog post](http://www.adrianwalker.org/2011/12/java-multiline-string.html)