1 24 25 package org.aspectj.compiler.base.ast; 26 27 import org.aspectj.compiler.base.*; 28 29 import java.util.*; 30 31 import org.aspectj.compiler.base.*; 32 import org.aspectj.compiler.crosscuts.*; 33 34 38 public class ResolvedTypeD extends TypeD implements SOLink { 39 public ASTObject postMove(MovingWalker walker) { 41 walker.moveLink(this); 42 return this; 43 } 44 45 46 public SemanticObject getTarget() { 48 return getType(); 49 } 50 51 public void setTarget(SemanticObject newTarget) { 52 setType((Type)newTarget); 53 } 54 55 protected Type type; 57 public Type getType() { return type; } 58 public void setType(Type _type) { type = _type; } 59 60 public ResolvedTypeD(SourceLocation location, Type _type) { 61 super(location); 62 setType(_type); 63 } 64 protected ResolvedTypeD(SourceLocation source) { 65 super(source); 66 } 67 68 public ASTObject copyWalk(CopyWalker walker) { 69 ResolvedTypeD ret = new ResolvedTypeD(getSourceLocation()); 70 ret.preCopy(walker, this); 71 ret.type = type; 72 return ret; 73 } 74 75 76 public String getDefaultDisplayName() { 77 return "ResolvedTypeD(type: "+type+")"; 78 } 79 80 } 82 | Popular Tags |