1 24 25 package org.aspectj.compiler.crosscuts.ast; 26 import org.aspectj.compiler.base.ast.*; 27 import org.aspectj.compiler.crosscuts.joinpoints.*; 28 29 import org.aspectj.compiler.base.JavaCompiler; 30 31 import java.util.*; 32 import org.aspectj.util.InvertableSet; 33 34 37 public class InitializerPcd extends KindedPcd { 38 public String getKind() { 39 return "initialization"; 40 } 41 public int getJpKind() { 42 return JoinPoint.INITIALIZER_EXECUTION; 43 } 44 45 47 public InitializerPcd(SourceLocation location, DecPattern _pattern) { 48 super(location, _pattern); 49 50 } 51 protected InitializerPcd(SourceLocation source) { 52 super(source); 53 } 54 55 public ASTObject copyWalk(CopyWalker walker) { 56 InitializerPcd ret = new InitializerPcd(getSourceLocation()); 57 ret.preCopy(walker, this); 58 if (pattern != null) ret.setPattern( (DecPattern)walker.process(pattern) ); 59 return ret; 60 } 61 62 63 public String getDefaultDisplayName() { 64 return "InitializerPcd()"; 65 } 66 67 } 69 70 | Popular Tags |