Skip to content

Instantly share code, notes, and snippets.

@rfum
Created September 21, 2017 14:31
Show Gist options
  • Save rfum/7a17ba935d98849cd1e87e28e1bac980 to your computer and use it in GitHub Desktop.
Save rfum/7a17ba935d98849cd1e87e28e1bac980 to your computer and use it in GitHub Desktop.
SystemArchitecture.java
package aspect;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
@Aspect
public class SystemArchitecture
{
@Pointcut("execution(* set*(..))")
public static void allSetterPointcut()
{
}
@Pointcut("args(name)")
public static void oneArgOnly(String name)
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment