String currMethodName = currMethod.getSignature(); int insertIndex = 0; while (insertIndex < i) { if (currMethodName.compareTo(result[insertIndex].getSignature()) <= 0) { break;
protected Method getMethodUsingMethodSig(JavaClass aClass, String methodName) { List currentMethods = aClass.getMethods(); for (int i = 0; i < currentMethods.size(); i++) { Method method = (Method) currentMethods.get(i); if (methodName.equals(method.getSignature())) return method; } return null; } /**
/** * @param aClass * @param methodName * @return */ protected Method getMethod(JavaClass aClass, String methodName) { List currentMethods = aClass.getMethods(); for (int i = 0; i < currentMethods.size(); i++) { Method method = (Method) currentMethods.get(i); if (methodName.equals(method.getSignature())) return method; } return null; } protected Method getMethodUsingMethodSig(JavaClass aClass, String methodName) {
protected final void reflectionWarning(IEJBValidationContext vc, EnterpriseBean bean, JavaClass clazz, Method method, InvalidInputException exc) { vc.removeMessages(method); vc.removeMessages(clazz, method.getSignature()); IMessage message = getReflectionWarning(vc, exc, bean, clazz, method); vc.addMessage(message); }