/** * Constructor. * * <p>Obtiene una nueva instancia de MethodIsNotAlreadyInSuperclasses. * * @param method el método cuyo equivalente en una superclase se desea buscar. * @param classDef la clase en cuyas superclases se busca el método. */ public MethodIsNotAlreadyInSuperclasses(MethDec method, ClassDef classDef) { super( "MethodIsNotAlreadyInSuperclasses:\n\t" + //$NON-NLS-1$ "Makes sure the given method " + '"' + method.getName().toString() + //$NON-NLS-1$ '"' + " is not to be found within any of the superclasses of the " + //$NON-NLS-1$ "class " + '"' + classDef.getName().toString() + '"' + ".\n\n"); //$NON-NLS-1$ //$NON-NLS-2$ this.classDef = classDef; this.method = method; }