/** * Returns the default ctor or <code>null</code> if not found. */ public CtorDescriptor getDefaultCtorDescriptor(boolean declared) { CtorDescriptor defaultCtor = getCtors().getDefaultCtor(); if ((defaultCtor != null) && defaultCtor.matchDeclared(declared)) { return defaultCtor; } return null; }
/** * Returns the constructor identified by arguments or <code>null</code> if not found. */ public CtorDescriptor getCtorDescriptor(Class[] args, boolean declared) { CtorDescriptor ctorDescriptor = getCtors().getCtorDescriptor(args); if ((ctorDescriptor != null) && ctorDescriptor.matchDeclared(declared)) { return ctorDescriptor; } return null; }
/** * Returns the default ctor or <code>null</code> if not found. */ public CtorDescriptor getDefaultCtorDescriptor(final boolean declared) { CtorDescriptor defaultCtor = getCtors().getDefaultCtor(); if ((defaultCtor != null) && defaultCtor.matchDeclared(declared)) { return defaultCtor; } return null; }
/** * Returns the constructor identified by arguments or <code>null</code> if not found. */ public CtorDescriptor getCtorDescriptor(final Class[] args, final boolean declared) { CtorDescriptor ctorDescriptor = getCtors().getCtorDescriptor(args); if ((ctorDescriptor != null) && ctorDescriptor.matchDeclared(declared)) { return ctorDescriptor; } return null; }
/** * Returns the default ctor or <code>null</code> if not found. */ public CtorDescriptor getDefaultCtorDescriptor(final boolean declared) { CtorDescriptor defaultCtor = getCtors().getDefaultCtor(); if ((defaultCtor != null) && defaultCtor.matchDeclared(declared)) { return defaultCtor; } return null; }
/** * Returns the constructor identified by arguments or <code>null</code> if not found. */ public CtorDescriptor getCtorDescriptor(final Class[] args, final boolean declared) { CtorDescriptor ctorDescriptor = getCtors().getCtorDescriptor(args); if ((ctorDescriptor != null) && ctorDescriptor.matchDeclared(declared)) { return ctorDescriptor; } return null; }