forked from dehasi/groovy-dc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
annotation with simple values parsed
- Loading branch information
Rafa
committed
Mar 25, 2016
1 parent
ba9813f
commit 186cf9e
Showing
9 changed files
with
53 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
package interfaces | ||
|
||
import annotations.SimpleAnnotation | ||
import com.sun.istack.internal.NotNull | ||
import groovy.transform.NotYetImplemented | ||
|
||
import javax.annotation.Resource | ||
import javax.xml.bind.annotation.XmlID | ||
import javax.xml.bind.annotation.XmlRootElement | ||
|
||
@Resource | ||
@XmlRootElement | ||
@SimpleAnnotation(n = "SimpleAnnotationName", v= "42") | ||
interface AnnotationInterface { | ||
@XmlID | ||
// @XmlID | ||
def field | ||
|
||
@NotYetImplemented | ||
def method (@NotNull def arg) | ||
// @NotYetImplemented | ||
def method ( | ||
// @NotNull | ||
def arg) | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
/** | ||
* Created by Rafa on 26.03.2016. | ||
*/ | ||
public class СlassHolder { | ||
public class ClassHolder { | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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