-
-
Save AdamBien/33d62d97cb66ae3988aa4520aa49221a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.kcctl.command; | |
/** | |
* A Java annotation with a Java text block including YAML inside a XML's CData. | |
*/ | |
@TextBlocksRock( | |
""" | |
<?xml version="1.0"?> | |
<we> | |
<![CDATA[ | |
can: | |
do: | | |
{ | |
"it" : true | |
} | |
]] > | |
</we> | |
""" | |
) | |
/** | |
* A public class named ZOMG | |
*/ | |
public class ZOMG { | |
} | |
/** | |
* An annotation named TextBlocksRock | |
*/ | |
@interface TextBlocksRock { | |
String value(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment