1 22 package org.jboss.joinpoint.plugins; 23 24 import org.jboss.joinpoint.spi.TargettedJoinpoint; 25 import org.jboss.util.UnreachableStatementException; 26 27 32 public abstract class BasicTargettedJoinPoint implements TargettedJoinpoint 33 { 34 35 protected Object target; 36 37 public Object getTarget() 38 { 39 return target; 40 } 41 42 public void setTarget(Object target) 43 { 44 this.target = target; 45 } 46 47 public Object clone() 48 { 49 try 50 { 51 return super.clone(); 52 } 53 catch (CloneNotSupportedException e) 54 { 55 throw new UnreachableStatementException(); 56 } 57 } 58 } 59 | Popular Tags |