Package jodd.proxetta

Class InvokeReplacer


  • public class InvokeReplacer
    extends java.lang.Object
    Invocation advice represents a method that will replace some invocation pointcut.
    • Field Detail

      • owner

        protected final java.lang.String owner
      • methodName

        protected final java.lang.String methodName
      • passOwnerName

        protected boolean passOwnerName
      • passMethodName

        protected boolean passMethodName
      • passMethodSignature

        protected boolean passMethodSignature
      • passThis

        protected boolean passThis
      • passTargetClass

        protected boolean passTargetClass
    • Constructor Detail

      • InvokeReplacer

        public InvokeReplacer​(java.lang.Class target,
                              java.lang.String methodName)
      • InvokeReplacer

        public InvokeReplacer​(java.lang.String classCanonicalName,
                              java.lang.String methodName)
    • Method Detail

      • with

        public static InvokeReplacer with​(java.lang.String classCanonicalName,
                                          java.lang.String methodName)
      • with

        public static InvokeReplacer with​(java.lang.Class target,
                                          java.lang.String methodName)
      • getOwner

        public java.lang.String getOwner()
      • getMethodName

        public java.lang.String getMethodName()
      • isPassOwnerName

        public boolean isPassOwnerName()
      • setPassOwnerName

        public void setPassOwnerName​(boolean passOwnerName)
      • passOwnerName

        public InvokeReplacer passOwnerName​(boolean passOwnerName)
      • isPassMethodName

        public boolean isPassMethodName()
      • setPassMethodName

        public void setPassMethodName​(boolean passMethodName)
      • passMethodName

        public InvokeReplacer passMethodName​(boolean passMethodName)
      • isPassMethodSignature

        public boolean isPassMethodSignature()
      • setPassMethodSignature

        public void setPassMethodSignature​(boolean passMethodSignature)
      • passMethodSignature

        public InvokeReplacer passMethodSignature​(boolean passMethodSignature)
      • isPassThis

        public boolean isPassThis()
      • setPassThis

        public void setPassThis​(boolean passThis)
      • isPassTargetClass

        public boolean isPassTargetClass()
      • setPassTargetClass

        public void setPassTargetClass​(boolean passTargetClass)
      • passTargetClass

        public InvokeReplacer passTargetClass​(boolean passTargetClass)
      • isNone

        public boolean isNone()
        Returns true if this InvokeReplaces is NONE.