equal
deleted
inserted
replaced
128 return true; |
128 return true; |
129 } |
129 } |
130 |
130 |
131 @Override |
131 @Override |
132 public void doWork() throws IOException { |
132 public void doWork() throws IOException { |
133 verifyBytecode(newCompilationTask() |
133 newCompilationTask() |
134 .withSourceFromTemplate(source_template) |
134 .withSourceFromTemplate(source_template) |
135 .generate()); |
135 .generate(this::verifyBytecode); |
136 } |
136 } |
137 |
137 |
138 void verifyBytecode(Result<Iterable<? extends JavaFileObject>> result) { |
138 void verifyBytecode(Result<Iterable<? extends JavaFileObject>> result) { |
139 boolean lastInlined = false; |
139 boolean lastInlined = false; |
140 boolean hasCode = false; |
140 boolean hasCode = false; |