class YamlPropertySourceLoader extends BasePropertiesPropertySourceLoader<List<Map<String, Object>>> {

    private static AgentLogger LOGGER = AgentLogger.getLogger(YamlPropertySourceLoader.class);

    private Resource resource;

    public YamlPropertySourceLoader(String name, Resource resource) {
        super(new ListPropertySourceReloader(name, resource));
        this.resource = resource;
    }

    protected List<Map<String, Object>> doLoad() {<FILL_FUNCTION_BODY>}
}

        try {
            Object yamlLoader = ReflectionHelper.invokeConstructor(
                    "org.springframework.boot.env.OriginTrackedYamlLoader",
                    this.getClass().getClassLoader(), new Class[]{Resource.class}, resource);
            return (List<Map<String, Object>>) ReflectionHelper.invoke(yamlLoader, "load");
        } catch (Exception e) {
            LOGGER.error("load yaml error, resource: {}", e, resource);
        }
        return null;
    
<methods>public void <init>(HotswapSpringPropertiesReloader<List<Map<java.lang.String,java.lang.Object>>>) ,public final List<Map<java.lang.String,java.lang.Object>> load() ,public final void reload() <variables>protected HotswapSpringPropertiesReloader<List<Map<java.lang.String,java.lang.Object>>> properties