com.igormaznitsa.meta.annotation.DisableSelfInvocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meta-annotations Show documentation
Show all versions of meta-annotations Show documentation
A set of annotations for marking code and preserving the marks in compiled classes. It includes the
FindBugs jsr-305 shadowed annotations from the com.google.code.findbugs library.
The newest version!
package com.igormaznitsa.meta.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Allows marking methods that should not be called from methods in the same class, only external call is allowed.
*
* @since 1.2.1
*/
@Documented
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.CLASS)
public @interface DisableSelfInvocation {
/**
* Field allows to add some comment.
*
* @return comment text or empty string
*/
String value() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy