public static boolean checkDeprecation(Property property,String path,int line){
  flex2.compiler.mxml.reflect.Deprecated deprecated=property.getDeprecated();
  if ((deprecated != null)) {
    if (!checkLogDeprecationWarning(path,line,property.getName(),deprecated.getSince(),deprecated.getMessage(),deprecated.getReplacement())) {
      ThreadLocalToolkit.log(new Deprecated(property.getName()),path,line);
    }
    return false;
  }
  return true;
}

public static boolean checkDeprecation ( Property property , String path , int line ) { flex2 . compiler . mxml . reflect . Deprecated deprecated = property . getDeprecated ( ) ; if ( ( deprecated != null ) ) { if ( ! checkLogDeprecationWarning ( path , line , property . getName ( ) , deprecated . getSince ( ) , deprecated . getMessage ( ) , deprecated . getReplacement ( ) ) ) { ThreadLocalToolkit . log ( new Deprecated ( property . getName ( ) ) , path , line ) ; } return false ; } return true ; }
return true if the check is okay . it is assumed that deprecation warnings should be shown if this method is called .
