ADD week 5
This commit is contained in:
		
							
								
								
									
										53
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/ApiStatus.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/ApiStatus.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,53 @@ | ||||
| package org.jetbrains.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; | ||||
|  | ||||
| /* loaded from: classes.dex */ | ||||
| public final class ApiStatus { | ||||
|  | ||||
|     @Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.PACKAGE}) | ||||
|     @Documented | ||||
|     @Retention(RetentionPolicy.CLASS) | ||||
|     public @interface AvailableSince { | ||||
|         String value(); | ||||
|     } | ||||
|  | ||||
|     @Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.PACKAGE}) | ||||
|     @Documented | ||||
|     @Retention(RetentionPolicy.CLASS) | ||||
|     public @interface Experimental { | ||||
|     } | ||||
|  | ||||
|     @Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.PACKAGE}) | ||||
|     @Documented | ||||
|     @Retention(RetentionPolicy.CLASS) | ||||
|     public @interface Internal { | ||||
|     } | ||||
|  | ||||
|     @Target({ElementType.TYPE, ElementType.METHOD}) | ||||
|     @Documented | ||||
|     @Retention(RetentionPolicy.CLASS) | ||||
|     public @interface NonExtendable { | ||||
|     } | ||||
|  | ||||
|     @Target({ElementType.TYPE, ElementType.METHOD}) | ||||
|     @Documented | ||||
|     @Retention(RetentionPolicy.CLASS) | ||||
|     public @interface OverrideOnly { | ||||
|     } | ||||
|  | ||||
|     @Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.PACKAGE}) | ||||
|     @Documented | ||||
|     @Retention(RetentionPolicy.CLASS) | ||||
|     public @interface ScheduledForRemoval { | ||||
|         String inVersion() default ""; | ||||
|     } | ||||
|  | ||||
|     private ApiStatus() { | ||||
|         throw new AssertionError("ApiStatus should not be instantiated"); | ||||
|     } | ||||
| } | ||||
							
								
								
									
										24
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/Async.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/Async.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| package org.jetbrains.annotations; | ||||
|  | ||||
| import java.lang.annotation.ElementType; | ||||
| import java.lang.annotation.Retention; | ||||
| import java.lang.annotation.RetentionPolicy; | ||||
| import java.lang.annotation.Target; | ||||
|  | ||||
| /* loaded from: classes.dex */ | ||||
| public final class Async { | ||||
|  | ||||
|     @Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.PARAMETER}) | ||||
|     @Retention(RetentionPolicy.CLASS) | ||||
|     public @interface Execute { | ||||
|     } | ||||
|  | ||||
|     @Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.PARAMETER}) | ||||
|     @Retention(RetentionPolicy.CLASS) | ||||
|     public @interface Schedule { | ||||
|     } | ||||
|  | ||||
|     private Async() { | ||||
|         throw new AssertionError("Async should not be instantiated"); | ||||
|     } | ||||
| } | ||||
							
								
								
									
										14
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/Blocking.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/Blocking.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| package org.jetbrains.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 Blocking { | ||||
| } | ||||
| @@ -0,0 +1,14 @@ | ||||
| package org.jetbrains.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.TYPE, ElementType.TYPE_USE}) | ||||
| @Documented | ||||
| @Retention(RetentionPolicy.CLASS) | ||||
| /* loaded from: classes.dex */ | ||||
| public @interface BlockingExecutor { | ||||
| } | ||||
							
								
								
									
										19
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/Contract.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/Contract.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| package org.jetbrains.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 Contract { | ||||
|     String mutates() default ""; | ||||
|  | ||||
|     boolean pure() default false; | ||||
|  | ||||
|     String value() default ""; | ||||
| } | ||||
							
								
								
									
										24
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/Debug.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/Debug.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| package org.jetbrains.annotations; | ||||
|  | ||||
| import java.lang.annotation.ElementType; | ||||
| import java.lang.annotation.Retention; | ||||
| import java.lang.annotation.RetentionPolicy; | ||||
| import java.lang.annotation.Target; | ||||
|  | ||||
| /* loaded from: classes.dex */ | ||||
| public final class Debug { | ||||
|  | ||||
|     @Target({ElementType.TYPE}) | ||||
|     @Retention(RetentionPolicy.CLASS) | ||||
|     public @interface Renderer { | ||||
|         String childrenArray() default ""; | ||||
|  | ||||
|         String hasChildren() default ""; | ||||
|  | ||||
|         String text() default ""; | ||||
|     } | ||||
|  | ||||
|     private Debug() { | ||||
|         throw new AssertionError("Debug should not be instantiated"); | ||||
|     } | ||||
| } | ||||
| @@ -0,0 +1,14 @@ | ||||
| package org.jetbrains.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 MustBeInvokedByOverriders { | ||||
| } | ||||
							
								
								
									
										22
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/Nls.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/Nls.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| package org.jetbrains.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.FIELD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE, ElementType.TYPE_USE, ElementType.TYPE, ElementType.PACKAGE}) | ||||
| @Documented | ||||
| @Retention(RetentionPolicy.CLASS) | ||||
| /* loaded from: classes.dex */ | ||||
| public @interface Nls { | ||||
|  | ||||
|     public enum Capitalization { | ||||
|         NotSpecified, | ||||
|         Title, | ||||
|         Sentence | ||||
|     } | ||||
|  | ||||
|     Capitalization capitalization() default Capitalization.NotSpecified; | ||||
| } | ||||
| @@ -0,0 +1,14 @@ | ||||
| package org.jetbrains.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 NonBlocking { | ||||
| } | ||||
| @@ -0,0 +1,14 @@ | ||||
| package org.jetbrains.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.TYPE, ElementType.TYPE_USE}) | ||||
| @Documented | ||||
| @Retention(RetentionPolicy.CLASS) | ||||
| /* loaded from: classes.dex */ | ||||
| public @interface NonBlockingExecutor { | ||||
| } | ||||
							
								
								
									
										14
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/NonNls.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/NonNls.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| package org.jetbrains.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.FIELD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE, ElementType.TYPE_USE, ElementType.TYPE, ElementType.PACKAGE}) | ||||
| @Documented | ||||
| @Retention(RetentionPolicy.CLASS) | ||||
| /* loaded from: classes.dex */ | ||||
| public @interface NonNls { | ||||
| } | ||||
							
								
								
									
										17
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/NotNull.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/NotNull.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| package org.jetbrains.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.FIELD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE, ElementType.TYPE_USE}) | ||||
| @Documented | ||||
| @Retention(RetentionPolicy.CLASS) | ||||
| /* loaded from: classes.dex */ | ||||
| public @interface NotNull { | ||||
|     Class<? extends Exception> exception() default Exception.class; | ||||
|  | ||||
|     String value() default ""; | ||||
| } | ||||
							
								
								
									
										15
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/Nullable.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/Nullable.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| package org.jetbrains.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.FIELD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE, ElementType.TYPE_USE}) | ||||
| @Documented | ||||
| @Retention(RetentionPolicy.CLASS) | ||||
| /* loaded from: classes.dex */ | ||||
| public @interface Nullable { | ||||
|     String value() default ""; | ||||
| } | ||||
| @@ -0,0 +1,15 @@ | ||||
| package org.jetbrains.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.LOCAL_VARIABLE, ElementType.FIELD, ElementType.TYPE_USE}) | ||||
| @Documented | ||||
| @Retention(RetentionPolicy.CLASS) | ||||
| /* loaded from: classes.dex */ | ||||
| public @interface PropertyKey { | ||||
|     String resourceBundle(); | ||||
| } | ||||
							
								
								
									
										17
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/Range.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/Range.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| package org.jetbrains.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.TYPE_USE}) | ||||
| @Documented | ||||
| @Retention(RetentionPolicy.CLASS) | ||||
| /* loaded from: classes.dex */ | ||||
| public @interface Range { | ||||
|     long from(); | ||||
|  | ||||
|     long to(); | ||||
| } | ||||
							
								
								
									
										14
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/TestOnly.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								02-Easy5/E5/sources/org/jetbrains/annotations/TestOnly.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| package org.jetbrains.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.FIELD, ElementType.TYPE}) | ||||
| @Documented | ||||
| @Retention(RetentionPolicy.CLASS) | ||||
| /* loaded from: classes.dex */ | ||||
| public @interface TestOnly { | ||||
| } | ||||
| @@ -0,0 +1,15 @@ | ||||
| package org.jetbrains.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.TYPE_USE}) | ||||
| @Documented | ||||
| @Retention(RetentionPolicy.CLASS) | ||||
| /* loaded from: classes.dex */ | ||||
| public @interface UnknownNullability { | ||||
|     String value() default ""; | ||||
| } | ||||
| @@ -0,0 +1,14 @@ | ||||
| package org.jetbrains.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.TYPE_USE}) | ||||
| @Documented | ||||
| @Retention(RetentionPolicy.CLASS) | ||||
| /* loaded from: classes.dex */ | ||||
| public @interface Unmodifiable { | ||||
| } | ||||
| @@ -0,0 +1,14 @@ | ||||
| package org.jetbrains.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.TYPE_USE}) | ||||
| @Documented | ||||
| @Retention(RetentionPolicy.CLASS) | ||||
| /* loaded from: classes.dex */ | ||||
| public @interface UnmodifiableView { | ||||
| } | ||||
| @@ -0,0 +1,14 @@ | ||||
| package org.jetbrains.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.FIELD, ElementType.TYPE}) | ||||
| @Documented | ||||
| @Retention(RetentionPolicy.CLASS) | ||||
| /* loaded from: classes.dex */ | ||||
| public @interface VisibleForTesting { | ||||
| } | ||||
		Reference in New Issue
	
	Block a user