/** * Create a new Signature. * * @param name the name * @param param the parameter number * @param parameters the parameters */ public MethodParametersSignature(String name, String[] parameters, int param) { super(name, parameters); this.param = param; checkParam(); }
/** * Create a new Signature. * * @param name the name * @param param the parameter number * @param parameters the parameters */ public MethodParametersSignature(String name, int param, Class<?>... parameters) { super(name, parameters); this.param = param; checkParam(); }
/** * Create a new Signature. * * @param method the method * @param param the parameter number */ public MethodParametersSignature(Method method, int param) { super(method.getName(), method.getParameterTypes()); this.param = param; checkParam(); }
/** * Create a new Signature. * * @param method the method info * @param param the parameter number */ public MethodParametersSignature(MethodInfo method, int param) { super(method.getName(), convertParameterTypes(method.getParameterTypes())); this.param = param; checkParam(); }