Experimental.Level

enum Experimental.Level


Severity of the diagnostic that should be reported on usages of experimental API which did not explicitly accept the experimental aspect of that API either by using UseExperimental or by being annotated with the corresponding marker annotation.

Summary

Enum Values

ERROR

Specifies that an error should be reported on incorrect usages of this experimental API.

WARNING

Specifies that a warning should be reported on incorrect usages of this experimental API.

Public fields

final @NonNull String
final int

Enum Values

ERROR

@NonNull
@NonNull Experimental.Level Experimental.Level.ERROR

Specifies that an error should be reported on incorrect usages of this experimental API.

WARNING

@NonNull
@NonNull Experimental.Level Experimental.Level.WARNING

Specifies that a warning should be reported on incorrect usages of this experimental API.

Public fields

name

@NonNull
public final @NonNull String name

ordinal

@NonNull
public final int ordinal