private static ClassInfo cloneDeprecated ( ClassInfo classInfo ) { return new ClassInfo ( classInfo . getVersion ( ) , classInfo . getAccess ( ) | Opcodes . ACC_DEPRECATED , classInfo . getName ( ) , classInfo . getSignature ( ) , classInfo . getSupername ( ) , classInfo . getInterfaces ( ) , classInfo . getMethodMap ( ) , classInfo . getFieldMap ( ) ) ; }
Clones the class info but changes access setting deprecated flag .