rewrite icon indicating copy to clipboard operation
rewrite copied to clipboard

accumulo-proxy with Common Static Analysis

Open gadams00 opened this issue 3 years ago • 1 comments

We've run into some issues running the Common Static Analysis recipe on the AST for accumulo-proxy (https://github.com/apache/accumulo-proxy). The issue seems to be in JavaTemplate running on a 38k line template based on some code generated by thrift. The javatemplate compilation never completes.

gadams00 avatar Sep 13 '22 18:09 gadams00

The BlockStatementTemplateGenerator is building a very large template for the AccumuloProxy.java Source file. There are a large number of sibling classes, each of which is fully templated since BlockStatementTemplateGenerator considers their method/variable declarations as being required. The solution is to either filter out any unnecessary types or auto-generate stubs.

pway99 avatar Sep 13 '22 21:09 pway99