@Inherited
public @interface PublicAPI
usage()
defines the way, this public API should be used.PublicAPI.Usage.ACCESS
defines, that this class or member should only be accessed (e.g. calling a method)
by users of ArchUnit. PublicAPI.Usage.INHERITANCE
defines, that this class / interface may be extended / implemented
by users of ArchUnit. Note that this naturally includes permission to access any accessible members
of this class / interface.Modifier and Type | Required Element and Description |
---|---|
PublicAPI.Usage |
usage
Marks how this API is supposed to be used.
|
Modifier and Type | Optional Element and Description |
---|---|
PublicAPI.State |
state
Marks the state of this API, i.e.
|
public abstract PublicAPI.Usage usage
PublicAPI.Usage
public abstract PublicAPI.State state
STABLE
, if not
explicitly marked otherwise.PublicAPI.State