default.txt 991 B

1234567891011121314151617181920212223
  1. package com.aspectj.syntax;
  2. import org.aspectj.lang.annotation.AdviceName;
  3. privileged public aspect LoggingAspect percflowbelow(ajia.services.*){
  4. private pointcut getResult() : call(* *(..) throws SQLException) && args(Account, .., int);
  5. @AdviceName("CheckValidEmail")
  6. before (Customer hu) : getResult(hu){
  7. System.out.println("Your mail address is valid!");
  8. }
  9. Object around() throws InsufficientBalanceException: getResult() && call(Customer.new(String,String,int,int,int)){
  10. return proceed();
  11. }
  12. public Cache getCache() {
  13. return this.cache;
  14. }
  15. pointcut beanPropertyChange(BeanSupport bean, Object newValue): execution(void BeanSupport+.set*(*)) && args(newValue) && this(bean);
  16. declare parents: banking.entities.* implements BeanSupport;
  17. declare warning : call(void TestSoftening.perform()): "Please ensure you are not calling this from an AWT thread";
  18. private String Identifiable.id;
  19. public void Identifiable.setId(String id) {
  20. this.id = id;
  21. }
  22. }