1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package com.puppycrawl.tools.checkstyle.grammar.antlr4;
21
22 import static com.puppycrawl.tools.checkstyle.grammar.antlr4.LifecyclePhase.GENERATE_RESOURCES;
23 import static java.lang.String.format;
24
25 import java.util.ArrayList;
26 import java.util.Collections;
27 import java.util.List;
28 import java.util.Set;
29
30 import org.junit.platform.commons.logging.Logger;
31
32 class Artifact{}
33 class ArtifactRepository{}
34 class License{}
35 class Model{}
36 class Organization{}
37 class ProcessRemoteResourcesMojo{}
38 @interface Component{
39 Class<MavenProjectBuilder> role();
40 }
41 class LifecyclePhase{
42 public static final Object GENERATE_RESOURCES = null;
43 }
44 @interface Mojo{
45 String name();
46 }
47 @interface Parameter{
48 String defaultValue();
49
50 boolean readonly();
51 }
52 class ResolutionScope{
53 public static final Object RUNTIME = null;
54 }
55 class InvalidProjectModelException{}
56 class MavenProject{}
57 class MavenProjectBuilder{}
58 class ProjectBuildingException{}
59
60
61
62
63
64
65
66
67
68
69
70
71 @Mojo(name = "")
72 public class InputAntlr4AstRegressionCommentsOnAnnotationsAndEnums
73 extends ProcessRemoteResourcesMojo
74 {
75
76
77
78
79
80 public enum ProjectData
81 {
82
83
84
85 NONE,
86
87
88
89
90 LICENSES,
91
92
93
94
95
96 FULL
97 }
98
99 @Parameter(defaultValue = "NONE", readonly = false)
100 protected ProjectData projectsData;
101
102 @Parameter(defaultValue = "${localRepository}", readonly = true)
103 private ArtifactRepository localRepositoryThis;
104
105 @Component(role = MavenProjectBuilder.class)
106 private MavenProjectBuilder mavenProjectBuilderThis;
107
108
109
110
111 @Parameter(defaultValue = "${project.remoteArtifactRepositories}", readonly = true)
112 private List<ArtifactRepository> remoteArtifactRepositoriesThis;
113
114 private Logger getLog() {
115 return null;
116 }
117
118 enum InputJavadocVariableTagsEnum
119 {
120 CONSTANT_A,
121
122
123
124
125 CONSTANT_B,
126
127 CONSTANT_C
128 {
129
130
131
132 public void someMethod()
133 {
134 }
135
136 public void someOtherMethod()
137 {
138
139 }
140 }
141 }
142
143 }