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

org.gwizard.logging.LogCall Maven / Gradle / Ivy

The newest version!
package org.gwizard.logging;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 

Guice AOP annotation which indicates method call should be logged.

*

Note that methods with this annotation CANNOT BE PRIVATE.

* * @author Jeff Schnitzer */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD}) public @interface LogCall { /** * If false, skip logging the result. Default is true. */ boolean result() default true; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy