Overrides default implementation just in case setProperty method has been overridden by ExpandoMetaClass

@see MetaClassImpl#setProperty(Class, Object, String, Object, boolean, boolean)
550152
public void setProperty(Class sender, Object object, String name, Object newValue, boolean useSuper, boolean fromInsideClass) {
        if (setPropertyMethod != null && !name.equals(META_CLASS_PROPERTY) && getJavaClass().isInstance(object)) {
            setPropertyMethod.invoke(object, new Object[]{name, newValue});
            return;
        }
        super.setProperty(sender, object, name, newValue, useSuper, fromInsideClass);
    }
1255851
@SuppressWarnings("unchecked")
    public void setProperty(Object obj, Object key, Object value) {
        if (isMap(obj))
            ((Map) obj).put(key.toString(), value);
        else {
            throw new JsonPathException("setProperty operation cannot be used with " + obj!=null?obj.getClass().getName():"null");
        }
    }
984485
@Override
    public void setPropertyValue(PropertyInfo propInfo, Object value) {
        setPropertyValue(propInfo.getId(), value);
    }
1099833
public void setProperty(String name, String value) {
        Validate.notNullOrEmpty(name, "Name of property can not be a null object nor an empty string!");
        Validate.notNull(value, "Value of property can not be a null object!");

        configuration.put(name, value);
    }
743537
@Override
    public void addProperty(Property property) {
        properties.add(property);
        property.addPropertyChangeListener(this);
        buildModel();
    }
221468
private void setOverride(final String key, final String value) {
    final boolean doSecurely = key.startsWith("_");
    final String fullKey = defaultEnvironment + "." + key;
    if (value != null) {
      final String oldValue = _getProperty("", key, null);
      if (value.equals(oldValue)) {
        // Same value, not really an override.
        if (doSecurely) {
          logger.warning("*** IGNORED  *** Ignoring redundant override " + fullKey + "=***PROTECTED***");
        } else {
          logger.warning("*** IGNORED  *** Ignoring redundant override " + fullKey + "='" + value + "'");
        }
      } else {
        logger.warning("*** OVERRIDE *** Setting override " + fullKey);
        if (doSecurely) {
          logger.warning("                 New value=***PROTECTED***");
          logger.warning("                 Old value='" + oldValue + "'");
        } else {
          logger.warning("                 New value='" + value + "'");
          logger.warning("                 Old value='" + oldValue + "'");
        }
        allProperties.setProperty(fullKey, value);
      }
    }
  }
101553
public static String setProperty(String name, String value) {
        String val = null;
        if(props.containsKey(name)){
            val = props.get(name).getValue();
        }
        props.put(name, new Property(name, value, "dynamically added"));
        LOGGER.warn("Temporary overriding property: " + name + ". Old value: " + val + ". New value: "  + value);
        return val;
    }
960109
protected boolean _setProperty(String name, Object value) throws SAXNotSupportedException{
        if(LEXICAL_HANDLER.equals(name) || LEXICAL_HANDLER_ALT.equals(name)){
            if(value==null || value instanceof LexicalHandler){
                handler.setLexicalHandler((LexicalHandler)value);
                return true;
            }else
                throw new SAXNotSupportedException("value must implement "+LexicalHandler.class);
        }else if(DECL_HANDLER.equals(name) || DECL_HANDLER_ALT.equals(name)){
            if(value==null || value instanceof DeclHandler){
                handler.setDeclHandler((DeclHandler)value);
                return true;
            }else
                throw new SAXNotSupportedException("value must implement "+DeclHandler.class);
        }else
            return false;
    }
533854
@Override
	public void setProperty(String property, Object value) {
		if (property.equals(PROPERTY_LOCATION)) {
			location = String.valueOf(value);
		} else {
			throw new KriptonRuntimeException("unsupported property: " + property);
		}
	}
695619
public MYSELF defaultValueProperty(String... properties) {
		for (String prop : properties) {
			String propertyKey = BuilderUtils.isExpression(prop) ? BuilderUtils.getPropertyKey(prop) : prop;
			this.defaultValueProperties.add(propertyKey);
		}
		return myself;
	}
1364079
@Override
    public void setProperty(String name, Object value) {
        message.put(name, value);
    }
652132
public synchronized void addProperty(Object source, String name, Object value, boolean beforeUpdate) {
        if (beforeUpdate == false && isLog4JProperty(name)) {
            overrideProps.put(name, value);
            reConfigureAsynchronously();
        }
    }
21800
public Object setExtensionProperty(String key, Object value)
    {
        return getExtensionProperties().put(key, value);
    }
639102
@Nonnull
    public BugInstance setProperty(String name, String value) {
        BugProperty prop = lookupProperty(name);
        if (prop != null) {
            prop.setValue(value);
        } else {
            prop = new BugProperty(name, value);
            addProperty(prop);
        }
        return this;
    }
835089
@Override
	public final void setObjectProperty(String name, Object value) throws JMSException
    {
        if (value == null)
            throw new MessageFormatException("A property value cannot be null");
            
        // Check type
        if (!(value instanceof Boolean ||
              value instanceof Byte ||
              value instanceof Short ||
              value instanceof Integer ||
              value instanceof Long ||
              value instanceof Float ||
              value instanceof Double ||
              value instanceof String))
            throw new MessageFormatException("Unsupported property value type : "+value.getClass().getName());
        
        setProperty(name,value);
    }
1241924
public static void setProperty(Object o, String prop, Object value) throws IllegalArgumentException, IllegalAccessException, NoSuchFieldException {
	getFieldIgnoreCase(o.getClass(), prop).set(o, value);
    }
739146
public static void setMetaClass(GroovyObject self, MetaClass metaClass) {
        // this method was introduced as to prevent from a stack overflow, described in GROOVY-5285
        if (metaClass instanceof HandleMetaClass)
            metaClass = ((HandleMetaClass)metaClass).getAdaptee();

        self.setMetaClass(metaClass);
        disablePrimitiveOptimization(self);
    }