public MethodNode addSyntheticMethod ( String name , int modifiers , ClassNode returnType , Parameter [ ] parameters , ClassNode [ ] exceptions , Statement code ) { MethodNode answer = addMethod ( name , modifiers | ACC_SYNTHETIC , returnType , parameters , exceptions , code ) ; answer . setSynthetic ( true ) ; return answer ; }
Adds a synthetic method as part of the compilation process