Package com.google.gerrit.common
Annotation Interface UsedAt
@Target({METHOD,TYPE,FIELD,CONSTRUCTOR})
@Retention(RUNTIME)
@Repeatable(Uses.class)
public @interface UsedAt
A marker to say a method/type/field/constructor is added or is increased to public solely because
it is called from inside a project or an organisation using Gerrit.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enumeration of projects that call a method/type/field.static @interface
Allows to mark method/type/field with multiple UsedAt annotations. -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionReference to the project that uses the method annotated with this annotation.
-
Element Details
-
value
UsedAt.Project valueReference to the project that uses the method annotated with this annotation.
-