Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
355 views
in Technique[技术] by (71.8m points)

java 语法求解

@WrapperAction("search")
public class SearchBeanHandler implements ActionRequestHandler {
    @Override
    public Object handleRequest(InvokeRequest invokeRequest) {
        String key = invokeRequest.getString("key");
        if (StringUtils.isBlank(key)) {
            return InvokeResult.failed("the param {key} not presented");
        }
        String attach_info = invokeRequest.getString("attach_info");
        Object uniqueID = XposedHelpers.callStaticMethod(ClassLoadMonitor.tryLoadClass("com.tencent.ttpic.util.Utils"), "generateUniqueId");
        if (StringUtils.isBlank(attach_info)) {
            attach_info = "";
        }
        return WeishiUtil.sendRequest(XposedHelpers.newInstance(ClassLoadMonitor.tryLoadClass("com.tencent.oscar.module.discovery.ui.adapter.h")
                , uniqueID, key, 0, 0, attach_info));
    }
}

@WrapperAction("search") java 这种写法是什么意思?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...