public static IMethodBinding findMethodInType(ITypeBinding type, String methodName, String[] parameters) {
public static IMethodBinding findMethodInType(ITypeBinding type, String methodName, ITypeBinding[] parameters) {
	public static IMethodBinding findMethodInType(ITypeBinding type, String methodName, String[] parameters) {		if (type.isPrimitive())			return null;		IMethodBinding[] methods= type.getDeclaredMethods();		for (int i= 0; i < methods.length; i++) {			if (parameters == null) {				if (methodName.equals(methods[i].getName()))					return methods[i];			} else {				if (isEqualMethod(methods[i], methodName, parameters))					return methods[i];			}		}		return null;	}