fix: repair decompiled sources and add exhaustive documentation

- restore generic signatures, scoped variables and missing code from original bytecode
- remove decompiler artifacts and document classes, methods, fields and packages
- restore resources, add Batik/BouncyCastle dependencies and build/runtime docs
This commit is contained in:
rick committed 2026-11-16 17:28:23 +08:00
1 parent 9d7e42eda8
commit 10aa1829f5
346 files changed
+42404 -622

No files matched your search

@@ -4,8 +4,26 @@ import com.mitac.cell.internet.http.UserAgent;
import org.springframework.core.convert.converter.Converter;
import org.springframework.stereotype.Component;
/**
* 【Spring 组件】{@code UserAgentConverter}
*
* 类职责:
* <ul>
* <li>作为 Spring 组件参与依赖注入或生命周期回调。</li>
* </ul>
*
* 学习提示:先看类注释和 public 方法,再结合调用方理解它在整体流程中的位置。
*/
@Component
public class UserAgentConverter implements Converter {
public class UserAgentConverter implements Converter<String, UserAgent> {
/**
* 处理转换。
*
* 实现要点:主要调用:new UserAgent。
*
* @param source 参数 {@code source}({@code String})
* @return 处理结果
*/
public UserAgent convert(String source) {
return new UserAgent(source);
}