Initial commit
This commit is contained in:
17
sources/com/google/gson/annotations/Expose.java
Normal file
17
sources/com/google/gson/annotations/Expose.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.google.gson.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.FIELD})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface Expose {
|
||||
boolean deserialize() default true;
|
||||
|
||||
boolean serialize() default true;
|
||||
}
|
15
sources/com/google/gson/annotations/JsonAdapter.java
Normal file
15
sources/com/google/gson/annotations/JsonAdapter.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package com.google.gson.annotations;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Target({ElementType.TYPE, ElementType.FIELD})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface JsonAdapter {
|
||||
boolean nullSafe() default true;
|
||||
|
||||
Class<?> value();
|
||||
}
|
17
sources/com/google/gson/annotations/SerializedName.java
Normal file
17
sources/com/google/gson/annotations/SerializedName.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.google.gson.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.FIELD, ElementType.METHOD})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface SerializedName {
|
||||
String[] alternate() default {};
|
||||
|
||||
String value();
|
||||
}
|
15
sources/com/google/gson/annotations/Since.java
Normal file
15
sources/com/google/gson/annotations/Since.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package com.google.gson.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.FIELD, ElementType.TYPE})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface Since {
|
||||
double value();
|
||||
}
|
15
sources/com/google/gson/annotations/Until.java
Normal file
15
sources/com/google/gson/annotations/Until.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package com.google.gson.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.FIELD, ElementType.TYPE})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
/* loaded from: classes.dex */
|
||||
public @interface Until {
|
||||
double value();
|
||||
}
|
Reference in New Issue
Block a user