-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
112526d
commit 445d449
Showing
11 changed files
with
160 additions
and
0 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
5 changes: 5 additions & 0 deletions
5
...src/test/java/org/moditect/deptective/plugintest/basic/barclsliteral/BarClassLiteral.java
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.moditect.deptective.plugintest.basic.barclsliteral; | ||
|
||
public class BarClassLiteral { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
javac-plugin/src/test/java/org/moditect/deptective/plugintest/basic/bardemand/BarDemand.java
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.moditect.deptective.plugintest.basic.bardemand; | ||
|
||
public class BarDemand { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
...c/test/java/org/moditect/deptective/plugintest/basic/bargenericbound/BarGenericBound.java
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.moditect.deptective.plugintest.basic.bargenericbound; | ||
|
||
public class BarGenericBound { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
...gin/src/test/java/org/moditect/deptective/plugintest/basic/barqualified/BarQualified.java
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.moditect.deptective.plugintest.basic.barqualified; | ||
|
||
public class BarQualified { | ||
|
||
} |
7 changes: 7 additions & 0 deletions
7
javac-plugin/src/test/java/org/moditect/deptective/plugintest/basic/barstatic/BarStatic.java
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.moditect.deptective.plugintest.basic.barstatic; | ||
|
||
public class BarStatic { | ||
|
||
public static String staticBar() { return "hello"; } | ||
|
||
} |
7 changes: 7 additions & 0 deletions
7
...src/test/java/org/moditect/deptective/plugintest/basic/barstaticfield/BarStaticField.java
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.moditect.deptective.plugintest.basic.barstaticfield; | ||
|
||
public class BarStaticField { | ||
|
||
public static String BAR_STATIC = "barStatic"; | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
javac-plugin/src/test/java/org/moditect/deptective/plugintest/basic/barunused/BarUnused.java
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.moditect.deptective.plugintest.basic.barunused; | ||
|
||
public class BarUnused { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
...c-plugin/src/test/java/org/moditect/deptective/plugintest/basic/barvalueann/BarValue.java
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.moditect.deptective.plugintest.basic.barvalueann; | ||
|
||
public class BarValue { | ||
|
||
} |
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
26 changes: 26 additions & 0 deletions
26
...plugin/src/test/java/org/moditect/deptective/plugintest/basic/foo/FooValueAnnotation.java
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package org.moditect.deptective.plugintest.basic.foo; | ||
|
||
import static java.lang.annotation.ElementType.ANNOTATION_TYPE; | ||
import static java.lang.annotation.ElementType.CONSTRUCTOR; | ||
import static java.lang.annotation.ElementType.FIELD; | ||
import static java.lang.annotation.ElementType.LOCAL_VARIABLE; | ||
import static java.lang.annotation.ElementType.METHOD; | ||
import static java.lang.annotation.ElementType.MODULE; | ||
import static java.lang.annotation.ElementType.PACKAGE; | ||
import static java.lang.annotation.ElementType.PARAMETER; | ||
import static java.lang.annotation.ElementType.TYPE; | ||
import static java.lang.annotation.ElementType.TYPE_PARAMETER; | ||
import static java.lang.annotation.ElementType.TYPE_USE; | ||
import static java.lang.annotation.RetentionPolicy.RUNTIME; | ||
|
||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.Target; | ||
|
||
@Retention(RUNTIME) | ||
@Target({ TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR, LOCAL_VARIABLE, ANNOTATION_TYPE, PACKAGE, TYPE_PARAMETER, | ||
TYPE_USE, MODULE }) | ||
public @interface FooValueAnnotation { | ||
|
||
Class<?> value(); | ||
|
||
} |