2023-06-02 16:29:12 -04:00
|
|
|
// Checkerframework stubs for java.lang
|
|
|
|
|
|
|
|
package java.lang.reflect;
|
|
|
|
|
|
|
|
import org.checkerframework.checker.nullness.qual.Nullable;
|
|
|
|
|
|
|
|
public final class Method extends Executable {
|
2023-07-05 12:48:15 -04:00
|
|
|
void invoke(@Nullable Object obj, @Nullable Object @Nullable ... args);
|
|
|
|
}
|
|
|
|
|
2023-08-08 17:46:35 -04:00
|
|
|
public final class Field extends AccessibleObject implements Member {
|
2023-07-05 12:48:15 -04:00
|
|
|
public void set(Object obj, @Nullable Object value);
|
2023-06-02 16:29:12 -04:00
|
|
|
}
|
2023-08-08 17:46:35 -04:00
|
|
|
|
|
|
|
package java.util;
|
|
|
|
|
|
|
|
|
|
|
|
public interface Queue<E> extends Collection<E> {
|
|
|
|
@Override
|
|
|
|
@EnsuresNonNullIf(expression="poll()", result=false)
|
|
|
|
@EnsuresNonNullIf(expression="peek()", result=false)
|
|
|
|
boolean isEmpty();
|
|
|
|
E poll();
|
|
|
|
E peek();
|
|
|
|
}
|