private boolean isSynthetic ( Method m ) { if ( ( m . getAccessFlags ( ) & Constants . ACC_SYNTHETIC ) != 0 ) { return true ; } Attribute [ ] attrs = m . getAttributes ( ) ; for ( Attribute attr : attrs ) { if ( attr instanceof Synthetic ) { return true ; } } return false ; }
Methods marked with the `` Synthetic '' attribute do not appear in the source code