{
Set<InterceptionType> detectedInterceptorTypes = new HashSet<InterceptionType>();
for (MethodMetadata method : currentClass.getDeclaredMethods())
{
MethodReference methodReference = MethodReference.of(method, Modifier.isPrivate(method.getJavaMethod().getModifiers()));
if (!foundMethods.contains(methodReference))
{
for (InterceptionType interceptionType : InterceptionTypeRegistry.getSupportedInterceptionTypes())
{
if (isInterceptorMethod(interceptionType, method, forTargetClass))