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 33 36 public class FieldGetPcd extends KindedPcd { 37 public String getKind() { return "get"; } 38 public int getJpKind() { return JoinPoint.FIELD_GET; } 39 40 42 public FieldGetPcd(SourceLocation location, DecPattern _pattern) { 43 super(location, _pattern); 44 45 } 46 protected FieldGetPcd(SourceLocation source) { 47 super(source); 48 } 49 50 public ASTObject copyWalk(CopyWalker walker) { 51 FieldGetPcd ret = new FieldGetPcd(getSourceLocation()); 52 ret.preCopy(walker, this); 53 if (pattern != null) ret.setPattern( (DecPattern)walker.process(pattern) ); 54 return ret; 55 } 56 57 58 public String getDefaultDisplayName() { 59 return "FieldGetPcd()"; 60 } 61 62 } 64 65 | Popular Tags |