HttpUrl$Builder$ParseResult.smali 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. .class final enum Lokhttp3/HttpUrl$Builder$ParseResult;
  2. .super Ljava/lang/Enum;
  3. .source ""
  4. # annotations
  5. .annotation system Ldalvik/annotation/EnclosingClass;
  6. value = Lokhttp3/HttpUrl$Builder;
  7. .end annotation
  8. .annotation system Ldalvik/annotation/InnerClass;
  9. accessFlags = 0x4018
  10. name = "ParseResult"
  11. .end annotation
  12. .annotation system Ldalvik/annotation/Signature;
  13. value = {
  14. "Ljava/lang/Enum<",
  15. "Lokhttp3/HttpUrl$Builder$ParseResult;",
  16. ">;"
  17. }
  18. .end annotation
  19. # static fields
  20. .field private static final synthetic $VALUES:[Lokhttp3/HttpUrl$Builder$ParseResult;
  21. .field public static final enum INVALID_HOST:Lokhttp3/HttpUrl$Builder$ParseResult;
  22. .field public static final enum INVALID_PORT:Lokhttp3/HttpUrl$Builder$ParseResult;
  23. .field public static final enum MISSING_SCHEME:Lokhttp3/HttpUrl$Builder$ParseResult;
  24. .field public static final enum SUCCESS:Lokhttp3/HttpUrl$Builder$ParseResult;
  25. .field public static final enum UNSUPPORTED_SCHEME:Lokhttp3/HttpUrl$Builder$ParseResult;
  26. # direct methods
  27. .method static constructor <clinit>()V
  28. .locals 7
  29. new-instance v0, Lokhttp3/HttpUrl$Builder$ParseResult;
  30. const/4 v1, 0x0
  31. const-string v2, "SUCCESS"
  32. invoke-direct {v0, v2, v1}, Lokhttp3/HttpUrl$Builder$ParseResult;-><init>(Ljava/lang/String;I)V
  33. sput-object v0, Lokhttp3/HttpUrl$Builder$ParseResult;->SUCCESS:Lokhttp3/HttpUrl$Builder$ParseResult;
  34. new-instance v0, Lokhttp3/HttpUrl$Builder$ParseResult;
  35. const/4 v2, 0x1
  36. const-string v3, "MISSING_SCHEME"
  37. invoke-direct {v0, v3, v2}, Lokhttp3/HttpUrl$Builder$ParseResult;-><init>(Ljava/lang/String;I)V
  38. sput-object v0, Lokhttp3/HttpUrl$Builder$ParseResult;->MISSING_SCHEME:Lokhttp3/HttpUrl$Builder$ParseResult;
  39. new-instance v0, Lokhttp3/HttpUrl$Builder$ParseResult;
  40. const/4 v3, 0x2
  41. const-string v4, "UNSUPPORTED_SCHEME"
  42. invoke-direct {v0, v4, v3}, Lokhttp3/HttpUrl$Builder$ParseResult;-><init>(Ljava/lang/String;I)V
  43. sput-object v0, Lokhttp3/HttpUrl$Builder$ParseResult;->UNSUPPORTED_SCHEME:Lokhttp3/HttpUrl$Builder$ParseResult;
  44. new-instance v0, Lokhttp3/HttpUrl$Builder$ParseResult;
  45. const/4 v4, 0x3
  46. const-string v5, "INVALID_PORT"
  47. invoke-direct {v0, v5, v4}, Lokhttp3/HttpUrl$Builder$ParseResult;-><init>(Ljava/lang/String;I)V
  48. sput-object v0, Lokhttp3/HttpUrl$Builder$ParseResult;->INVALID_PORT:Lokhttp3/HttpUrl$Builder$ParseResult;
  49. new-instance v0, Lokhttp3/HttpUrl$Builder$ParseResult;
  50. const/4 v5, 0x4
  51. const-string v6, "INVALID_HOST"
  52. invoke-direct {v0, v6, v5}, Lokhttp3/HttpUrl$Builder$ParseResult;-><init>(Ljava/lang/String;I)V
  53. sput-object v0, Lokhttp3/HttpUrl$Builder$ParseResult;->INVALID_HOST:Lokhttp3/HttpUrl$Builder$ParseResult;
  54. const/4 v0, 0x5
  55. new-array v0, v0, [Lokhttp3/HttpUrl$Builder$ParseResult;
  56. sget-object v6, Lokhttp3/HttpUrl$Builder$ParseResult;->SUCCESS:Lokhttp3/HttpUrl$Builder$ParseResult;
  57. aput-object v6, v0, v1
  58. sget-object v1, Lokhttp3/HttpUrl$Builder$ParseResult;->MISSING_SCHEME:Lokhttp3/HttpUrl$Builder$ParseResult;
  59. aput-object v1, v0, v2
  60. sget-object v1, Lokhttp3/HttpUrl$Builder$ParseResult;->UNSUPPORTED_SCHEME:Lokhttp3/HttpUrl$Builder$ParseResult;
  61. aput-object v1, v0, v3
  62. sget-object v1, Lokhttp3/HttpUrl$Builder$ParseResult;->INVALID_PORT:Lokhttp3/HttpUrl$Builder$ParseResult;
  63. aput-object v1, v0, v4
  64. sget-object v1, Lokhttp3/HttpUrl$Builder$ParseResult;->INVALID_HOST:Lokhttp3/HttpUrl$Builder$ParseResult;
  65. aput-object v1, v0, v5
  66. sput-object v0, Lokhttp3/HttpUrl$Builder$ParseResult;->$VALUES:[Lokhttp3/HttpUrl$Builder$ParseResult;
  67. return-void
  68. .end method
  69. .method private constructor <init>(Ljava/lang/String;I)V
  70. .locals 0
  71. .annotation system Ldalvik/annotation/Signature;
  72. value = {
  73. "()V"
  74. }
  75. .end annotation
  76. invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
  77. return-void
  78. .end method
  79. .method public static valueOf(Ljava/lang/String;)Lokhttp3/HttpUrl$Builder$ParseResult;
  80. .locals 1
  81. const-class v0, Lokhttp3/HttpUrl$Builder$ParseResult;
  82. invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
  83. move-result-object p0
  84. check-cast p0, Lokhttp3/HttpUrl$Builder$ParseResult;
  85. return-object p0
  86. .end method
  87. .method public static values()[Lokhttp3/HttpUrl$Builder$ParseResult;
  88. .locals 1
  89. sget-object v0, Lokhttp3/HttpUrl$Builder$ParseResult;->$VALUES:[Lokhttp3/HttpUrl$Builder$ParseResult;
  90. invoke-virtual {v0}, [Lokhttp3/HttpUrl$Builder$ParseResult;->clone()Ljava/lang/Object;
  91. move-result-object v0
  92. check-cast v0, [Lokhttp3/HttpUrl$Builder$ParseResult;
  93. return-object v0
  94. .end method