void verifyAllReferencesInlined ( String name , FunctionState functionState ) { for ( Reference ref : functionState . getReferences ( ) ) { if ( ! ref . inlined ) { Node parent = ref . callNode . getParent ( ) ; throw new IllegalStateException ( "Call site missed (" + name + ").\n call: " + ref . callNode . toStringTree ( ) + "\n parent: " + ( ( parent == null ) ? "null" : parent . toStringTree ( ) ) ) ; } } }
Check to verify that expression rewriting didn t make a call inaccessible .