1 12 package org.aspectj.internal.lang.reflect; 13 14 import org.aspectj.lang.reflect.PerClauseKind; 15 import org.aspectj.lang.reflect.TypePattern; 16 import org.aspectj.lang.reflect.TypePatternBasedPerClause; 17 18 22 public class TypePatternBasedPerClauseImpl extends PerClauseImpl implements 23 TypePatternBasedPerClause { 24 25 private TypePattern typePattern; 26 27 public TypePatternBasedPerClauseImpl(PerClauseKind kind, String pattern) { 28 super(kind); 29 this.typePattern = new TypePatternImpl(pattern); 30 } 31 32 35 public TypePattern getTypePattern() { 36 return this.typePattern; 37 } 38 39 public String toString() { 40 return "pertypewithin(" + typePattern.asString() + ")"; 41 } 42 43 } 44 | Popular Tags |