<commit_before>package com.sjsu.umlgenerator.aspect;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;

@Aspect
public class MethodInterceptorjAJ {


    @Pointcut("execution(* HelloWorld.sayHello(..))")
    public void logging() {
    }

    @Around("logging()")
    public Object logging(ProceedingJoinPoint thisJoinPoint) throws Throwable {
	System.out.println("Before " + thisJoinPoint.getSignature());
	final Object ret = thisJoinPoint.proceed();
	System.out.println("After " + thisJoinPoint.getSignature());

	return ret;
    }

}<commit_msg>Tryouts: Method interceptor<commit_after>package com.sjsu.umlgenerator.aspect;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;

@Aspect
public class MethodInterceptorjAJ {


    @Pointcut("(execution(* *(..))&& !cflow(within(MethodInterceptorjAJ)))")
    public void logging() {
    }

    @Before("logging()")
    public Object logging(ProceedingJoinPoint thisJoinPoint) throws Throwable {
	System.out.println("Before " + thisJoinPoint.getSignature());
	final Object ret = thisJoinPoint.proceed();
	System.out.println("After " + thisJoinPoint.getSignature());
	return ret;
    }

}
{'fraction_non_alphanumeric': 0.12987012987012986, 'fraction_numerical': 0.0, 'mean_word_length': 5.304545454545455, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3319593', 'n_tokens_mistral': 452, 'n_tokens_neox': 431, 'n_words': 74}