JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Summary:
Field
Required
Optional
Detail:
Field
Element
Summary:
Field |
Required |
Optional
Detail:
Field |
Element
SEARCH
Package
com.github.retrooper.packetevents.annotations
Annotation Interface RuntimeObsolete
@Documented
@Retention
(
RUNTIME
)
@Target
(
FIELD
)
public @interface
RuntimeObsolete
Marks an API element as obsolete and makes this information available at runtime via reflection. Use in conjunction with an IDE-recognized annotation like @ApiStatus.Obsolete if IDE warnings are also desired.
Optional Element Summary
Optional Elements
Modifier and Type
Optional Element
Description
String
reason
Optional: Add a reason or replacement suggestion.
String
since
Specifies in which version the API became obsolete.
Element Details
since
String
since
Specifies in which version the API became obsolete. Should generally match the value in the corresponding @ApiStatus.Obsolete annotation.
Default:
""
reason
String
reason
Optional: Add a reason or replacement suggestion.
Default:
""