
com.linkare.zas.aspectj.DepthForJoinpoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zas-impl Show documentation
Show all versions of zas-impl Show documentation
The AspectJ based implementation of the Zas project. This is the new version of the implementation of Zas which, initially, started as a M.Sc. thesis project by Paulo Zenida at ISCTE.
The newest version!
package com.linkare.zas.aspectj;
import com.linkare.zas.api.IJoinPoint;
/**
*
* @author Paulo Zenida - Linkare TI
*
*/
public class DepthForJoinpoint {
private boolean isShallow;
private IJoinPoint joinPoint;
/**
* @param isShallow
* @param joinPoint
*/
public DepthForJoinpoint(final boolean isShallow, final IJoinPoint joinPoint) {
super();
this.isShallow = isShallow;
this.joinPoint = joinPoint;
}
/**
* @return the isShallow
*/
public boolean isShallow() {
return isShallow;
}
/**
* @param isShallow
* the isShallow to set
*/
public void setShallow(final boolean isShallow) {
this.isShallow = isShallow;
}
/**
* @return the joinPoint
*/
public IJoinPoint getJoinPoint() {
return joinPoint;
}
/**
* @param joinPoint
* the joinPoint to set
*/
public void setJoinPoint(final IJoinPoint joinPoint) {
this.joinPoint = joinPoint;
}
@Override
public String toString() {
return (getJoinPoint() == null ? "ROOT" : getJoinPoint().toString()) + ": " + isShallow();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy