/** * Set the param types of the method this instruction operates on. * * @return this instruction, for method chaining */ public void setMethodParams(Class[] types) { if (types == null) setMethodParams((String[]) null); else { String[] names = new String[types.length]; for (int i = 0; i < types.length; i++) names[i] = types[i].getName(); setMethodParams(names); } }
/** * Set the param types of the method this instruction operates on. * * @return this instruction, for method chaining */ public void setMethodParams(Class[] types) { if (types == null) setMethodParams((String[]) null); else { String[] names = new String[types.length]; for (int i = 0; i < types.length; i++) names[i] = types[i].getName(); setMethodParams(names); } }
/** * Set the param types of the method this instruction operates on. * * @return this instruction, for method chaining */ public void setMethodParams(BCClass[] types) { if (types == null) setMethodParams((String[]) null); else { String[] names = new String[types.length]; for (int i = 0; i < types.length; i++) names[i] = types[i].getName(); setMethodParams(names); } }
/** * Set the param types of the method this instruction operates on. * * @return this instruction, for method chaining */ public void setMethodParams(BCClass[] types) { if (types == null) setMethodParams((String[]) null); else { String[] names = new String[types.length]; for (int i = 0; i < types.length; i++) names[i] = types[i].getName(); setMethodParams(names); } }