Java Aspectj Usage renderJoinPoint(JoinPoint jp)

Here you can find the source of renderJoinPoint(JoinPoint jp)

Description

render Join Point

License

Open Source License

Declaration

public static String renderJoinPoint(JoinPoint jp) 

Method Source Code

//package com.java2s;
/*//from  w w w .  j  a va  2  s  .c  o  m
 *  Copyright (c) Ludger Solbach. All rights reserved.
 *  The use and distribution terms for this software are covered by the
 *  Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
 *  which can be found in the file license.txt at the root of this distribution.
 *  By using this software in any fashion, you are agreeing to be bound by
 *  the terms of this license.
 *  You must not remove this notice, or any other, from this software.
 */

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.Signature;

public class Main {
    public static String renderJoinPoint(JoinPoint jp) {
        Signature sig = jp.getSignature();
        return sig.getDeclaringType().getSimpleName() + "." + sig.getName();
    }
}

Related

  1. isSuppressing(Member member, String lintkey)
  2. proceedAroundCallAtAspectJ(JoinPoint thisJoinPoint)
  3. process(ProceedingJoinPoint point, Object[] args)
  4. readAjAttributes(String classname, Attribute[] as, ISourceContext context, World w, AjAttribute.WeaverVersionInfo version, ConstantPoolReader dataDecompressor)
  5. renderArgs(JoinPoint jp)
  6. resolveFileName(final String fileName)
  7. setSourceLine(InstructionHandle ih, int lineNumber)
  8. strip(String[] src, String[] toStrip)
  9. type(final JoinPoint joinPoint)