Skip to content

Commit 24170cd

Browse files
committed
compile dependencies
1 parent fe7cea8 commit 24170cd

5 files changed

Lines changed: 73 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package io.oap;
2+
3+
import java.lang.annotation.Documented;
4+
import java.lang.annotation.Retention;
5+
import java.lang.annotation.Target;
6+
7+
import static java.lang.annotation.ElementType.*;
8+
import static java.lang.annotation.RetentionPolicy.CLASS;
9+
10+
@Documented
11+
@Retention(CLASS)
12+
@Target({FIELD})
13+
public @interface Annotation {
14+
Class<?> value();
15+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
package io.oap;
2+
3+
public class Bar {}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
package generated.support;
2+
3+
import java.lang.annotation.*;
4+
import static java.lang.annotation.ElementType.*;
5+
import static java.lang.annotation.RetentionPolicy.*;
6+
7+
@Documented
8+
@Retention(CLASS)
9+
@Target({TYPE, METHOD})
10+
@Generated(value = "openapi-processor-core", version = "test")
11+
public @interface Generated {
12+
/**
13+
* The name of the source code generator, i.e. openapi-processor-*.
14+
*
15+
* @return name of the generator
16+
*/
17+
String value();
18+
19+
/**
20+
* @return version of the generator
21+
*/
22+
String version();
23+
24+
/**
25+
* The date &amp; time of generation (ISO 8601) or "-" if no date was set.
26+
*
27+
* @return date of generation
28+
*/
29+
String date() default "-";
30+
31+
/**
32+
* The url of the generator.
33+
*
34+
* @return url of generator
35+
*/
36+
String url() default "https://openapiprocessor.io";
37+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package annotation;
2+
3+
import java.lang.annotation.Documented;
4+
import java.lang.annotation.Retention;
5+
import java.lang.annotation.Target;
6+
7+
import static java.lang.annotation.ElementType.METHOD;
8+
import static java.lang.annotation.RetentionPolicy.CLASS;
9+
10+
@Documented
11+
@Retention(CLASS)
12+
@Target({METHOD})
13+
public @interface Mapping {
14+
String value();
15+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
== compile test
2+
3+
`CompileExpectedSpec` compiles all expected files of the integration tests. This folder contains dummy implementations of classes & annotations the expected files depend on.

0 commit comments

Comments
 (0)