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

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

    final String profile;
    final Resource resource;

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

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

        try {
            Object target = ReflectionHelper.invokeConstructor("org.springframework.boot.env.YamlPropertySourceLoader$Processor",
                    this.getClass().getClassLoader(), new Class[]{Resource.class, String.class}, resource, profile);
            return (Map<String, Object>) ReflectionHelper.invoke(target, "process");
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    
<methods>public void <init>(HotswapSpringPropertiesReloader<Map<java.lang.String,java.lang.Object>>) ,public final Map<java.lang.String,java.lang.Object> load() ,public final void reload() <variables>protected HotswapSpringPropertiesReloader<Map<java.lang.String,java.lang.Object>> properties