@@ -121,7 +121,6 @@ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment
121121 TypeElement cls = (TypeElement ) method .getEnclosingElement ();
122122 TypeElement superCls = (TypeElement ) ((DeclaredType ) cls .getSuperclass ()).asElement ();
123123 superCls .getEnclosedElements ();
124- //System.out.println("\tANNOTATION: " + httpMethod + ", METHOD: " + method + ", CLS " + cls + ", <<" + superCls);
125124 if (!classMap .containsKey (cls )) {
126125 classMap .put (cls , new ArrayList <>());
127126 }
@@ -139,11 +138,8 @@ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment
139138 if (c .getKind () == ElementKind .CLASS ) {
140139 TypeElement newOwner = (TypeElement ) c ;
141140 TypeElement oldOwner = (TypeElement ) ((DeclaredType ) newOwner .getSuperclass ()).asElement ();
142- //System.out.println("\tOWNER::" + oldOwner + " contained in " + classMap.keySet());
143141 if (classMap .containsKey (oldOwner )) {
144- //System.out.println("\t\tCONTAINSKEY::" + oldOwner);
145142 for (MVCMethod e : classMap .get (oldOwner )) {
146- //System.out.println("\t\t\tMVCMETHOD::" + e);
147143 for (String path : path (e .httpMethod , e .method , newOwner )) {
148144 HandlerCompiler compiler = new HandlerCompiler (processingEnvironment , e .method , newOwner , e .httpMethod , path );
149145 result .add (compiler );
@@ -163,7 +159,6 @@ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment
163159 String moduleClass = module .getModuleClass ();
164160 byte [] moduleBin = module .compile (handlers );
165161 onClass (moduleClass , moduleBin );
166- //System.out.println("@moduleClass: " + moduleClass);
167162 writeClass (filer .createClassFile (moduleClass ), moduleBin );
168163
169164 moduleList .add (moduleClass );
@@ -177,7 +172,6 @@ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment
177172 private void doServices (Filer filer ) throws IOException {
178173 String location = "META-INF/services/" + MvcFactory .class .getName ();
179174 FileObject resource = filer .createResource (StandardLocation .CLASS_OUTPUT , "" , location );
180- //System.out.println(">>>>>>>>>>>>>>>>>> " + location + ": " + moduleList);
181175 String content = moduleList .stream ().limit (1 )
182176 .collect (Collectors .joining (System .getProperty ("line.separator" )));
183177 onResource (location , content );
0 commit comments