@@ -0,0 +1,1470 @@
+package com.limpoxe.fairy.manager.mapping;%0A%0Aimport android.util.Pair;%0A%0Aimport com.limpoxe.fairy.content.PluginDescriptor;%0A%0Apublic abstract class StubActivityExactMappingProcessor implements StubMappingProcessor %7B%0A%0A    private Pair%3CString, String%3E pair;%0A%0A    @Override%0A    final public int getType() %7B%0A        return TYPE_ACTIVITY;%0A    %7D%0A%0A    @Override%0A    final public String bindStub(PluginDescriptor pluginDescriptor, String pluginComponentClassName) %7B%0A        if (pluginComponentClassName.equals(getPluginActivityName())) %7B%0A            pair = new Pair%3C%3E(getStubActivityName(), pluginComponentClassName);%0A            return pair.first;%0A        %7D%0A        return null;%0A    %7D%0A%0A    @Override%0A    final public void unBindStub(String stubClassName, String pluginStubClass) %7B%0A        if (pair != null && pair.first.equals(stubClassName) && pair.second.equals(pluginStubClass)) %7B%0A            pair = null;%0A        %7D%0A    %7D%0A%0A    @Override%0A    final public boolean isStub(String stubClassName) %7B%0A        return stubClassName.equals(getStubActivityName());%0A    %7D%0A%0A    @Override%0A    final public String getBindedPluginClassName(String stubClassName) %7B%0A        if (pair != null && pair.first.equals(stubClassName)) %7B%0A            return pair.second;%0A        %7D%0A        return null;%0A    %7D%0A%0A    /**%0A     * @return %E5%9C%A8%E5%AE%BF%E4%B8%BBmanifest%E4%B8%AD%E9%85%8D%E7%BD%AE%E7%9A%84stub%0A     */%0A    public abstract String getStubActivityName();%0A%0A    /**%0A     * @return %E6%8F%92%E4%BB%B6%E4%B8%AD%E7%9A%84%E7%BB%84%E4%BB%B6%E5%90%8D%E7%A7%B0%0A     */%0A    public abstract String getPluginActivityName();%0A%7D%0A

添加Activity Exact Mapping，用于快速扩展Activity Stub