Attribute

public interface Attribute<V>

Contains a value of an annotation attribute.

Typical way to add more semantics to a method is via a parameterized annotation, such as Subscribe.

Parameters

<V>

the type of the value of the attribute. As it would typically be an annotation field value, its type cannot be restricted to anything except for Object.

See also

Inheritors

Functions

Link copied to clipboard
public abstract String parameter()
The name of the parameter.
Link copied to clipboard
public abstract V value()
The value of the attribute.