Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
fix:build时报错问题
Browse files Browse the repository at this point in the history
  • Loading branch information
BruceWind committed Jun 6, 2017
1 parent 1c9921f commit 17ff3c4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import com.squareup.javapoet.JavaFile;
import com.squareup.javapoet.TypeSpec;

import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
Expand Down Expand Up @@ -152,7 +153,7 @@ private void generate(List<AnnotatedClass> list) throws NoPackageNameException,
String message =
annotatedClass.annotatedClassName + " / " + annotatedClass.typeElement + " / "
+ Arrays.toString(annotatedClass.variableNames.toArray());
messager.printMessage(Diagnostic.Kind.NOTE, message, annotatedClass.typeElement);
//messager.printMessage(Diagnostic.Kind.NOTE, message, annotatedClass.typeElement);//这里如果不注视掉会 在build的时候停止 但run可以直接run
}

// 生成源代码
Expand Down

0 comments on commit 17ff3c4

Please # to comment.