private void logWarning(String deprecationType, Object object, String methodName, Info info)
    {
        this.log.warn(String.format("Deprecated usage of %s [%s] in %s@%d,%d", deprecationType, object.getClass()
            .getCanonicalName() + "." + methodName, info.getTemplateName(), info.getLine(), info.getColumn()));
    }
private void logWarning ( String deprecationType , Object object , String methodName , Info info ) { this . log . warn ( String . format ( "Deprecated usage of %s [%s] in %s@%d,%d" , deprecationType , object . getClass ( ) . getCanonicalName ( ) + "." + methodName , info . getTemplateName ( ) , info . getLine ( ) , info . getColumn ( ) ) ) ; }
Helper method to log a warning when a deprecation has been found.

@param deprecationType the type of deprecation (eg "getter", "setter", "method")
@param object the object that has a deprecation
@param methodName the deprecated method's name
@param info a Velocity {@link org.apache.velocity.util.introspection.Info} object containing information about
where the deprecation was located in the Velocity template file