blob: 556c1c0555d78771de7f64fe84144b2cb527ea69 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Matt Chapman - initial version
*******************************************************************************/
package org.eclipse.contribution.visualiser.utils;
import java.lang.System;
/**
*
* @author mchapman
*/
public aspect Enforcement {
declare warning : get(* System.out) || get(* System.err) : "There should be no printlns"; //$NON-NLS-1$
declare warning : call(* Exception.printStackTrace(..)) : "There should be no calls to printStackTrace"; //$NON-NLS-1$
}