## 类的使用
org.springframework.beans.factory.support.MethodOverride

- 使用MethodOverride的程序包
  程序包 | 说明
  --- | ---
  org.springframework.beans.factory.support | Classes supporting the `org.springframework.beans.factory` package.

- - ### org.springframework.beans.factory.support中MethodOverride的使用

    org.springframework.beans.factory.support中MethodOverride的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `LookupOverride` Represents an override of a method that looks up an object in the same IoC context.
    `class` | `ReplaceOverride` Extension of MethodOverride that represents an arbitrary override of a method by the IoC container.

    返回MethodOverride的org.springframework.beans.factory.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `MethodOverride` | MethodOverrides.`getOverride(Method method)` Return the override for the given method, if any.

    返回变量类型为MethodOverride的类型的org.springframework.beans.factory.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Set<MethodOverride>` | MethodOverrides.`getOverrides()` Return all method overrides contained by this object.

    参数类型为MethodOverride的org.springframework.beans.factory.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | MethodOverrides.`addOverride(MethodOverride override)` Add the given method override.
    `protected void` | AbstractBeanDefinition.`prepareMethodOverride(MethodOverride mo)` Validate and prepare the given method override.