ADD week 5
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface CanIgnoreReturnValue {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE, ElementType.PACKAGE})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface CheckReturnValue {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.PARAMETER})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface CompatibleWith {
|
||||
String value();
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.PARAMETER, ElementType.FIELD})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface CompileTimeConstant {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.METHOD})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface DoNotCall {
|
||||
String value() default "";
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Inherited;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE})
|
||||
@Inherited
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface DoNotMock {
|
||||
String value() default "Create a real instance instead";
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.METHOD})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface ForOverride {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface FormatMethod {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.PARAMETER})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface FormatString {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Inherited;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.TYPE})
|
||||
@Inherited
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface Immutable {
|
||||
String[] containerOf() default {};
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.ANNOTATION_TYPE})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface IncompatibleModifiers {
|
||||
Modifier[] modifier() default {};
|
||||
|
||||
@Deprecated
|
||||
javax.lang.model.element.Modifier[] value() default {};
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
@Documented
|
||||
/* loaded from: classes.dex */
|
||||
public @interface InlineMe {
|
||||
String[] imports() default {};
|
||||
|
||||
String replacement();
|
||||
|
||||
String[] staticImports() default {};
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
/* loaded from: classes.dex */
|
||||
public @interface InlineMeValidationDisabled {
|
||||
String value();
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.ANNOTATION_TYPE, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.METHOD, ElementType.TYPE})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface Keep {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public enum Modifier {
|
||||
PUBLIC,
|
||||
PROTECTED,
|
||||
PRIVATE,
|
||||
ABSTRACT,
|
||||
DEFAULT,
|
||||
STATIC,
|
||||
FINAL,
|
||||
TRANSIENT,
|
||||
VOLATILE,
|
||||
SYNCHRONIZED,
|
||||
NATIVE,
|
||||
STRICTFP
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.CONSTRUCTOR, ElementType.METHOD})
|
||||
@Documented
|
||||
/* loaded from: classes.dex */
|
||||
public @interface MustBeClosed {
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.METHOD})
|
||||
@Documented
|
||||
/* loaded from: classes.dex */
|
||||
public @interface NoAllocation {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.METHOD})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface OverridingMethodsMustInvokeSuper {
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.ANNOTATION_TYPE})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface RequiredModifiers {
|
||||
Modifier[] modifier() default {};
|
||||
|
||||
@Deprecated
|
||||
javax.lang.model.element.Modifier[] value() default {};
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.CONSTRUCTOR, ElementType.METHOD})
|
||||
/* loaded from: classes.dex */
|
||||
public @interface RestrictedApi {
|
||||
String allowedOnPath() default "";
|
||||
|
||||
Class<? extends Annotation>[] allowlistAnnotations() default {};
|
||||
|
||||
Class<? extends Annotation>[] allowlistWithWarningAnnotations() default {};
|
||||
|
||||
String explanation();
|
||||
|
||||
String link();
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.PACKAGE})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface SuppressPackageLocation {
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package com.google.errorprone.annotations;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface Var {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.google.errorprone.annotations.concurrent;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.FIELD, ElementType.METHOD})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface GuardedBy {
|
||||
String value();
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package com.google.errorprone.annotations.concurrent;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.FIELD})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface LazyInit {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package com.google.errorprone.annotations.concurrent;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.METHOD})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@Deprecated
|
||||
/* loaded from: classes.dex */
|
||||
public @interface LockMethod {
|
||||
String[] value();
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package com.google.errorprone.annotations.concurrent;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.METHOD})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@Deprecated
|
||||
/* loaded from: classes.dex */
|
||||
public @interface UnlockMethod {
|
||||
String[] value();
|
||||
}
|
Reference in New Issue
Block a user