All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.virjar.sekiro.api.databind.ICRCreateHelper Maven / Gradle / Ivy

Go to download

ratel api,used for developer on ratel system,an extension for xposed framewrok,ratel api compatable with original xposed framework

There is a newer version: 1.0.5
Show newest version
package com.virjar.sekiro.api.databind;

import com.virjar.sekiro.api.SekiroRequest;
import com.virjar.sekiro.api.SekiroRequestHandler;

import java.lang.reflect.Constructor;

/**
 * Created by virjar on 2019/1/25.
* InvokeRequestConstructorActionRequestHandlerCreateHelper */ public class ICRCreateHelper implements ActionRequestHandlerGenerator { private Constructor theConstructor; public ICRCreateHelper(Constructor theConstructor) { this.theConstructor = theConstructor; } @Override public SekiroRequestHandler gen(SekiroRequest invokeRequest) { try { return theConstructor.newInstance(invokeRequest); } catch (Exception e) { // not happen throw new IllegalStateException(e); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy