diff options
Diffstat (limited to 'aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/PointcutBasedPerClauseImpl.java')
-rw-r--r-- | aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/PointcutBasedPerClauseImpl.java | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/PointcutBasedPerClauseImpl.java b/aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/PointcutBasedPerClauseImpl.java deleted file mode 100644 index 5049d3a42..000000000 --- a/aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/PointcutBasedPerClauseImpl.java +++ /dev/null @@ -1,49 +0,0 @@ -/* ******************************************************************* - * Copyright (c) 2005 Contributors. - * 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://eclipse.org/legal/epl-v10.html - * - * Contributors: - * Adrian Colyer Initial implementation - * ******************************************************************/ -package org.aspectj.internal.lang.reflect; - -import org.aspectj.lang.reflect.PerClauseKind; -import org.aspectj.lang.reflect.PointcutBasedPerClause; -import org.aspectj.lang.reflect.PointcutExpression; - -/** - * @author colyer - * - */ -public class PointcutBasedPerClauseImpl extends PerClauseImpl implements - PointcutBasedPerClause { - - private final PointcutExpression pointcutExpression; - - public PointcutBasedPerClauseImpl(PerClauseKind kind, - String pointcutExpression) { - super(kind); - this.pointcutExpression = new PointcutExpressionImpl(pointcutExpression); - } - - public PointcutExpression getPointcutExpression() { - return pointcutExpression; - } - - public String toString() { - StringBuffer sb = new StringBuffer(); - switch(getKind()) { - case PERCFLOW: sb.append("percflow("); break; - case PERCFLOWBELOW: sb.append("percflowbelow("); break; - case PERTARGET: sb.append("pertarget("); break; - case PERTHIS: sb.append("perthis("); break; - } - sb.append(this.pointcutExpression.asString()); - sb.append(")"); - return sb.toString(); - } -} |