|
From: Torsten J. <tor...@on...> - 2005-06-08 23:52:30
|
Fixed http://springide.org/project/ticket/86 Thanx for spotting this. Cheers, Torsten On 05.06.2005, at 03:40, snpe wrote: > I use lats springide trunk and have problem when bena have implicit > constructor > (no defined constructor). > spring ide return error " no constructor with 0 argument > > I change > org.springframework.ide.eclipse.beans.core.internal.Introspector#hasCo > nstructor > method and it work now > > public static boolean hasConstructor(IType type, int argCount) > throws JavaModelException { > boolean haveImplicitCursor = (argCount == 0); > IMethod[] methods = type.getMethods(); > for (int i = 0; i < methods.length; i++) { > IMethod method = methods[i]; > if (method.isConstructor() && > method.getNumberOfParameters() == argCount) { > int flags = method.getFlags(); > if (Flags.isPublic(flags) ) { > return true; > } > if (haveImplicitCursor) > return false; > } > } > return haveImplicitCursor; > } > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can > you shotput > a projector? How fast can you ride your desk chair down the office > luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Springide-eclip-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springide-eclip-developer > |