public static final boolean isSafe ( Method meth ) { String fullyQualifiedName = new StringBuilder ( ) . append ( meth . getDeclaringClass ( ) . getName ( ) ) . append ( ' ' ) . append ( meth . getName ( ) ) . toString ( ) ; return ! unsafeMethods . contains ( meth . getName ( ) ) && ! unsafeMethods . contains ( fullyQualifiedName ) ; }
Determines whether it is safe based on the method name to invoke the method on behalf of a dynamic proxy for a JDBC wrapper .