@@ -54,6 +54,16 @@ public class JoobyProcessor extends AbstractProcessor {
5454 private Set <TypeElement > pathAnnotations ;
5555 private Set <TypeElement > httpAnnotations ;
5656
57+ final class MVCMethod {
58+ public ExecutableElement method ;
59+ public TypeElement httpMethod ;
60+
61+ MVCMethod (ExecutableElement method , TypeElement httpMethod ) {
62+ this .method = method ;
63+ this .httpMethod = httpMethod ;
64+ }
65+ }
66+
5767 @ Override public Set <String > getSupportedAnnotationTypes () {
5868 return new LinkedHashSet <String >() {{
5969 addAll (Annotations .HTTP_METHODS );
@@ -81,15 +91,6 @@ public class JoobyProcessor extends AbstractProcessor {
8191 }};
8292 }
8393
84- final private class MVCMethod {
85- public ExecutableElement method ;
86- public TypeElement httpMethod ;
87- public MVCMethod (ExecutableElement method , TypeElement httpMethod ) {
88- this .method = method ;
89- this .httpMethod = httpMethod ;
90- }
91- }
92-
9394 @ Override
9495 public boolean process (Set <? extends TypeElement > annotations , RoundEnvironment roundEnv ) {
9596 try {
@@ -100,7 +101,7 @@ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment
100101
101102 JoobyProcessorRoundEnvironment joobyRoundEnv = new JoobyProcessorRoundEnvironment (roundEnv , processingEnvironment );
102103
103- Map <TypeElement ,List <MVCMethod >> classMap = new HashMap <>();
104+ Map <TypeElement , List <MVCMethod >> classMap = new HashMap <>();
104105 /**
105106 * Do MVC handler: per each mvc method we create a Route.Handler.
106107 */
0 commit comments