de.tsl2.nano.aspect.CoverBefore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.aspects Show documentation
Show all versions of tsl2.nano.aspects Show documentation
TSL2 Framework Aspects (Generic Aspects with AspectJ)
package de.tsl2.nano.aspect;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* if a method that matches the origin method name of the covered class is
* annoted with CoverBefore, this will be called before calling the origin
* method body.
*
* NOTE: annotation will be read by AspectCover (the aspectj agent must be
* loaded to work!)
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD })
public @interface CoverBefore {
/** regular expression filter for method arguments */
public String regEx() default ".*";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy