All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.tsl2.nano.aspect.CoverBody Maven / Gradle / Ivy

There is a newer version: 2.5.3
Show newest version
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 CoverBody, this will be called instead of 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 CoverBody { /** regular expression filter for method arguments */ public String regEx() default ".*"; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy