DescriptorProtos$l.smali
.class public final Lcom/google/protobuf/DescriptorProtos$l;
.super Lf6/i0$e;
.source "DescriptorProtos.java"
# interfaces
.implements Lcom/google/protobuf/DescriptorProtos$m;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/protobuf/DescriptorProtos;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "l"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/protobuf/DescriptorProtos$l$b;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf6/i0$e<",
"Lcom/google/protobuf/DescriptorProtos$l;",
">;",
"Lcom/google/protobuf/DescriptorProtos$m;"
}
.end annotation
# static fields
.field public static final d:Lcom/google/protobuf/DescriptorProtos$l;
.field public static final e:Lf6/s1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf6/s1<",
"Lcom/google/protobuf/DescriptorProtos$l;",
">;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
# instance fields
.field public b:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/google/protobuf/DescriptorProtos$h0;",
">;"
}
.end annotation
.end field
.field public c:B
# direct methods
.method public static constructor <clinit>()V
.registers 1
new-instance v0, Lcom/google/protobuf/DescriptorProtos$l;
invoke-direct {v0}, Lcom/google/protobuf/DescriptorProtos$l;-><init>()V
sput-object v0, Lcom/google/protobuf/DescriptorProtos$l;->d:Lcom/google/protobuf/DescriptorProtos$l;
new-instance v0, Lcom/google/protobuf/DescriptorProtos$l$a;
invoke-direct {v0}, Lcom/google/protobuf/DescriptorProtos$l$a;-><init>()V
sput-object v0, Lcom/google/protobuf/DescriptorProtos$l;->e:Lf6/s1;
return-void
.end method
.method public constructor <init>()V
.registers 2
invoke-direct {p0}, Lf6/i0$e;-><init>()V
const/4 v0, -0x1
iput-byte v0, p0, Lcom/google/protobuf/DescriptorProtos$l;->c:B
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
move-result-object v0
iput-object v0, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
return-void
.end method
.method public constructor <init>(Lf6/i0$d;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lf6/i0$d<",
"Lcom/google/protobuf/DescriptorProtos$l;",
"*>;)V"
}
.end annotation
invoke-direct {p0, p1}, Lf6/i0$e;-><init>(Lf6/i0$d;)V
const/4 p1, -0x1
iput-byte p1, p0, Lcom/google/protobuf/DescriptorProtos$l;->c:B
return-void
.end method
.method public synthetic constructor <init>(Lf6/i0$d;Lcom/google/protobuf/DescriptorProtos$a;)V
.registers 3
invoke-direct {p0, p1}, Lcom/google/protobuf/DescriptorProtos$l;-><init>(Lf6/i0$d;)V
return-void
.end method
.method public constructor <init>(Lf6/n;Lf6/x;)V
.registers 9
.annotation system Ldalvik/annotation/Throws;
value = {
Lf6/l0;
}
.end annotation
invoke-direct {p0}, Lcom/google/protobuf/DescriptorProtos$l;-><init>()V
if-eqz p2, :cond_77
invoke-static {}, Lf6/o2;->d()Lf6/o2$b;
move-result-object v0
const/4 v1, 0x0
const/4 v2, 0x0
:cond_b
:goto_b
const/4 v3, 0x1
if-nez v1, :cond_61
:try_start_e
invoke-virtual {p1}, Lf6/n;->t()I
move-result v4
if-eqz v4, :cond_38
const/16 v5, 0x1f3a
if-eq v4, v5, :cond_1f
invoke-virtual {p0, p1, v0, p2, v4}, Lf6/i0$e;->parseUnknownField(Lf6/n;Lf6/o2$b;Lf6/x;I)Z
move-result v4
if-nez v4, :cond_b
goto :goto_38
:cond_1f
and-int/lit8 v4, v2, 0x1
if-nez v4, :cond_2c
new-instance v4, Ljava/util/ArrayList;
invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V
iput-object v4, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
or-int/lit8 v2, v2, 0x1
:cond_2c
iget-object v4, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
sget-object v5, Lcom/google/protobuf/DescriptorProtos$h0;->k:Lf6/s1;
invoke-virtual {p1, v5, p2}, Lf6/n;->a(Lf6/s1;Lf6/x;)Lf6/d1;
move-result-object v5
invoke-interface {v4, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:try_end_37
.catch Lf6/l0; {:try_start_e .. :try_end_37} :catch_46
.catch Ljava/io/IOException; {:try_start_e .. :try_end_37} :catch_3c
.catchall {:try_start_e .. :try_end_37} :catchall_3a
goto :goto_b
:cond_38
:goto_38
const/4 v1, 0x1
goto :goto_b
:catchall_3a
move-exception p1
goto :goto_4b
:catch_3c
move-exception p1
:try_start_3d
new-instance p2, Lf6/l0;
invoke-direct {p2, p1}, Lf6/l0;-><init>(Ljava/io/IOException;)V
invoke-virtual {p2, p0}, Lf6/l0;->a(Lf6/d1;)Lf6/l0;
throw p2
:catch_46
move-exception p1
invoke-virtual {p1, p0}, Lf6/l0;->a(Lf6/d1;)Lf6/l0;
throw p1
:try_end_4b
.catchall {:try_start_3d .. :try_end_4b} :catchall_3a
:goto_4b
and-int/lit8 p2, v2, 0x1
if-eqz p2, :cond_57
iget-object p2, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
invoke-static {p2}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p2
iput-object p2, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
:cond_57
invoke-virtual {v0}, Lf6/o2$b;->build()Lf6/o2;
move-result-object p2
iput-object p2, p0, Lf6/i0;->unknownFields:Lf6/o2;
invoke-virtual {p0}, Lf6/i0$e;->makeExtensionsImmutable()V
throw p1
:cond_61
and-int/lit8 p1, v2, 0x1
if-eqz p1, :cond_6d
iget-object p1, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
invoke-static {p1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p1
iput-object p1, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
:cond_6d
invoke-virtual {v0}, Lf6/o2$b;->build()Lf6/o2;
move-result-object p1
iput-object p1, p0, Lf6/i0;->unknownFields:Lf6/o2;
invoke-virtual {p0}, Lf6/i0$e;->makeExtensionsImmutable()V
return-void
:cond_77
const/4 p1, 0x0
goto :goto_7a
:goto_79
throw p1
:goto_7a
goto :goto_79
.end method
.method public synthetic constructor <init>(Lf6/n;Lf6/x;Lcom/google/protobuf/DescriptorProtos$a;)V
.registers 4
.annotation system Ldalvik/annotation/Throws;
value = {
Lf6/l0;
}
.end annotation
invoke-direct {p0, p1, p2}, Lcom/google/protobuf/DescriptorProtos$l;-><init>(Lf6/n;Lf6/x;)V
return-void
.end method
.method public static synthetic a(Lcom/google/protobuf/DescriptorProtos$l;)Ljava/util/List;
.registers 1
iget-object p0, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
return-object p0
.end method
.method public static synthetic a(Lcom/google/protobuf/DescriptorProtos$l;Ljava/util/List;)Ljava/util/List;
.registers 2
iput-object p1, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
return-object p1
.end method
.method public static b(Lcom/google/protobuf/DescriptorProtos$l;)Lcom/google/protobuf/DescriptorProtos$l$b;
.registers 2
sget-object v0, Lcom/google/protobuf/DescriptorProtos$l;->d:Lcom/google/protobuf/DescriptorProtos$l;
invoke-virtual {v0}, Lcom/google/protobuf/DescriptorProtos$l;->toBuilder()Lcom/google/protobuf/DescriptorProtos$l$b;
move-result-object v0
invoke-virtual {v0, p0}, Lcom/google/protobuf/DescriptorProtos$l$b;->a(Lcom/google/protobuf/DescriptorProtos$l;)Lcom/google/protobuf/DescriptorProtos$l$b;
return-object v0
.end method
.method public static getDefaultInstance()Lcom/google/protobuf/DescriptorProtos$l;
.registers 1
sget-object v0, Lcom/google/protobuf/DescriptorProtos$l;->d:Lcom/google/protobuf/DescriptorProtos$l;
return-object v0
.end method
.method public static final getDescriptor()Lcom/google/protobuf/Descriptors$b;
.registers 1
invoke-static {}, Lcom/google/protobuf/DescriptorProtos;->K()Lcom/google/protobuf/Descriptors$b;
move-result-object v0
return-object v0
.end method
.method public static newBuilder()Lcom/google/protobuf/DescriptorProtos$l$b;
.registers 1
sget-object v0, Lcom/google/protobuf/DescriptorProtos$l;->d:Lcom/google/protobuf/DescriptorProtos$l;
invoke-virtual {v0}, Lcom/google/protobuf/DescriptorProtos$l;->toBuilder()Lcom/google/protobuf/DescriptorProtos$l$b;
move-result-object v0
return-object v0
.end method
# virtual methods
.method public a(I)Lcom/google/protobuf/DescriptorProtos$h0;
.registers 3
iget-object v0, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/google/protobuf/DescriptorProtos$h0;
return-object p1
.end method
.method public e()I
.registers 2
iget-object v0, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
return v0
.end method
.method public equals(Ljava/lang/Object;)Z
.registers 6
const/4 v0, 0x1
if-ne p1, p0, :cond_4
return v0
:cond_4
instance-of v1, p1, Lcom/google/protobuf/DescriptorProtos$l;
if-nez v1, :cond_d
invoke-super {p0, p1}, Lf6/a;->equals(Ljava/lang/Object;)Z
move-result p1
return p1
:cond_d
check-cast p1, Lcom/google/protobuf/DescriptorProtos$l;
invoke-virtual {p0}, Lcom/google/protobuf/DescriptorProtos$l;->f()Ljava/util/List;
move-result-object v1
invoke-virtual {p1}, Lcom/google/protobuf/DescriptorProtos$l;->f()Ljava/util/List;
move-result-object v2
invoke-interface {v1, v2}, Ljava/util/List;->equals(Ljava/lang/Object;)Z
move-result v1
const/4 v2, 0x0
if-nez v1, :cond_1f
return v2
:cond_1f
iget-object v1, p0, Lf6/i0;->unknownFields:Lf6/o2;
iget-object v3, p1, Lf6/i0;->unknownFields:Lf6/o2;
invoke-virtual {v1, v3}, Lf6/o2;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_2a
return v2
:cond_2a
invoke-virtual {p0}, Lf6/i0$e;->c()Ljava/util/Map;
move-result-object v1
invoke-virtual {p1}, Lf6/i0$e;->c()Ljava/util/Map;
move-result-object p1
invoke-interface {v1, p1}, Ljava/util/Map;->equals(Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_39
return v2
:cond_39
return v0
.end method
.method public f()Ljava/util/List;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lcom/google/protobuf/DescriptorProtos$h0;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
return-object v0
.end method
.method public getDefaultInstanceForType()Lcom/google/protobuf/DescriptorProtos$l;
.registers 2
sget-object v0, Lcom/google/protobuf/DescriptorProtos$l;->d:Lcom/google/protobuf/DescriptorProtos$l;
return-object v0
.end method
.method public bridge synthetic getDefaultInstanceForType()Lf6/a1;
.registers 2
invoke-virtual {p0}, Lcom/google/protobuf/DescriptorProtos$l;->getDefaultInstanceForType()Lcom/google/protobuf/DescriptorProtos$l;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getDefaultInstanceForType()Lf6/d1;
.registers 2
invoke-virtual {p0}, Lcom/google/protobuf/DescriptorProtos$l;->getDefaultInstanceForType()Lcom/google/protobuf/DescriptorProtos$l;
move-result-object v0
return-object v0
.end method
.method public getParserForType()Lf6/s1;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lf6/s1<",
"Lcom/google/protobuf/DescriptorProtos$l;",
">;"
}
.end annotation
sget-object v0, Lcom/google/protobuf/DescriptorProtos$l;->e:Lf6/s1;
return-object v0
.end method
.method public getSerializedSize()I
.registers 5
iget v0, p0, Lf6/a;->memoizedSize:I
const/4 v1, -0x1
if-eq v0, v1, :cond_6
return v0
:cond_6
const/4 v0, 0x0
const/4 v1, 0x0
:goto_8
iget-object v2, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
invoke-interface {v2}, Ljava/util/List;->size()I
move-result v2
if-ge v0, v2, :cond_22
const/16 v2, 0x3e7
iget-object v3, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
invoke-interface {v3, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lf6/d1;
invoke-static {v2, v3}, Lf6/p;->f(ILf6/d1;)I
move-result v2
add-int/2addr v1, v2
add-int/lit8 v0, v0, 0x1
goto :goto_8
:cond_22
invoke-virtual {p0}, Lf6/i0$e;->b()I
move-result v0
add-int/2addr v1, v0
iget-object v0, p0, Lf6/i0;->unknownFields:Lf6/o2;
invoke-virtual {v0}, Lf6/o2;->getSerializedSize()I
move-result v0
add-int/2addr v1, v0
iput v1, p0, Lf6/a;->memoizedSize:I
return v1
.end method
.method public final getUnknownFields()Lf6/o2;
.registers 2
iget-object v0, p0, Lf6/i0;->unknownFields:Lf6/o2;
return-object v0
.end method
.method public hashCode()I
.registers 3
iget v0, p0, Lf6/b;->memoizedHashCode:I
if-eqz v0, :cond_5
return v0
:cond_5
const/16 v0, 0x30b
invoke-static {}, Lcom/google/protobuf/DescriptorProtos$l;->getDescriptor()Lcom/google/protobuf/Descriptors$b;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
add-int/2addr v0, v1
invoke-virtual {p0}, Lcom/google/protobuf/DescriptorProtos$l;->e()I
move-result v1
if-lez v1, :cond_25
mul-int/lit8 v0, v0, 0x25
add-int/lit16 v0, v0, 0x3e7
mul-int/lit8 v0, v0, 0x35
invoke-virtual {p0}, Lcom/google/protobuf/DescriptorProtos$l;->f()Ljava/util/List;
move-result-object v1
invoke-interface {v1}, Ljava/util/List;->hashCode()I
move-result v1
add-int/2addr v0, v1
:cond_25
invoke-virtual {p0}, Lf6/i0$e;->c()Ljava/util/Map;
move-result-object v1
invoke-static {v0, v1}, Lf6/a;->hashFields(ILjava/util/Map;)I
move-result v0
mul-int/lit8 v0, v0, 0x1d
iget-object v1, p0, Lf6/i0;->unknownFields:Lf6/o2;
invoke-virtual {v1}, Lf6/o2;->hashCode()I
move-result v1
add-int/2addr v0, v1
iput v0, p0, Lf6/b;->memoizedHashCode:I
return v0
.end method
.method public internalGetFieldAccessorTable()Lf6/i0$g;
.registers 4
invoke-static {}, Lcom/google/protobuf/DescriptorProtos;->L()Lf6/i0$g;
move-result-object v0
const-class v1, Lcom/google/protobuf/DescriptorProtos$l;
const-class v2, Lcom/google/protobuf/DescriptorProtos$l$b;
invoke-virtual {v0, v1, v2}, Lf6/i0$g;->a(Ljava/lang/Class;Ljava/lang/Class;)Lf6/i0$g;
return-object v0
.end method
.method public final isInitialized()Z
.registers 5
iget-byte v0, p0, Lcom/google/protobuf/DescriptorProtos$l;->c:B
const/4 v1, 0x1
if-ne v0, v1, :cond_6
return v1
:cond_6
const/4 v2, 0x0
if-nez v0, :cond_a
return v2
:cond_a
const/4 v0, 0x0
:goto_b
invoke-virtual {p0}, Lcom/google/protobuf/DescriptorProtos$l;->e()I
move-result v3
if-ge v0, v3, :cond_21
invoke-virtual {p0, v0}, Lcom/google/protobuf/DescriptorProtos$l;->a(I)Lcom/google/protobuf/DescriptorProtos$h0;
move-result-object v3
invoke-virtual {v3}, Lcom/google/protobuf/DescriptorProtos$h0;->isInitialized()Z
move-result v3
if-nez v3, :cond_1e
iput-byte v2, p0, Lcom/google/protobuf/DescriptorProtos$l;->c:B
return v2
:cond_1e
add-int/lit8 v0, v0, 0x1
goto :goto_b
:cond_21
invoke-virtual {p0}, Lf6/i0$e;->a()Z
move-result v0
if-nez v0, :cond_2a
iput-byte v2, p0, Lcom/google/protobuf/DescriptorProtos$l;->c:B
return v2
:cond_2a
iput-byte v1, p0, Lcom/google/protobuf/DescriptorProtos$l;->c:B
return v1
.end method
.method public newBuilderForType()Lcom/google/protobuf/DescriptorProtos$l$b;
.registers 2
invoke-static {}, Lcom/google/protobuf/DescriptorProtos$l;->newBuilder()Lcom/google/protobuf/DescriptorProtos$l$b;
move-result-object v0
return-object v0
.end method
.method public newBuilderForType(Lf6/i0$c;)Lcom/google/protobuf/DescriptorProtos$l$b;
.registers 4
new-instance v0, Lcom/google/protobuf/DescriptorProtos$l$b;
const/4 v1, 0x0
invoke-direct {v0, p1, v1}, Lcom/google/protobuf/DescriptorProtos$l$b;-><init>(Lf6/i0$c;Lcom/google/protobuf/DescriptorProtos$a;)V
return-object v0
.end method
.method public bridge synthetic newBuilderForType()Lf6/a1$a;
.registers 2
invoke-virtual {p0}, Lcom/google/protobuf/DescriptorProtos$l;->newBuilderForType()Lcom/google/protobuf/DescriptorProtos$l$b;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic newBuilderForType(Lf6/i0$c;)Lf6/a1$a;
.registers 2
invoke-virtual {p0, p1}, Lcom/google/protobuf/DescriptorProtos$l;->newBuilderForType(Lf6/i0$c;)Lcom/google/protobuf/DescriptorProtos$l$b;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic newBuilderForType()Lf6/d1$a;
.registers 2
invoke-virtual {p0}, Lcom/google/protobuf/DescriptorProtos$l;->newBuilderForType()Lcom/google/protobuf/DescriptorProtos$l$b;
move-result-object v0
return-object v0
.end method
.method public newInstance(Lf6/i0$h;)Ljava/lang/Object;
.registers 2
new-instance p1, Lcom/google/protobuf/DescriptorProtos$l;
invoke-direct {p1}, Lcom/google/protobuf/DescriptorProtos$l;-><init>()V
return-object p1
.end method
.method public toBuilder()Lcom/google/protobuf/DescriptorProtos$l$b;
.registers 3
sget-object v0, Lcom/google/protobuf/DescriptorProtos$l;->d:Lcom/google/protobuf/DescriptorProtos$l;
const/4 v1, 0x0
if-ne p0, v0, :cond_b
new-instance v0, Lcom/google/protobuf/DescriptorProtos$l$b;
invoke-direct {v0, v1}, Lcom/google/protobuf/DescriptorProtos$l$b;-><init>(Lcom/google/protobuf/DescriptorProtos$a;)V
goto :goto_13
:cond_b
new-instance v0, Lcom/google/protobuf/DescriptorProtos$l$b;
invoke-direct {v0, v1}, Lcom/google/protobuf/DescriptorProtos$l$b;-><init>(Lcom/google/protobuf/DescriptorProtos$a;)V
invoke-virtual {v0, p0}, Lcom/google/protobuf/DescriptorProtos$l$b;->a(Lcom/google/protobuf/DescriptorProtos$l;)Lcom/google/protobuf/DescriptorProtos$l$b;
:goto_13
return-object v0
.end method
.method public bridge synthetic toBuilder()Lf6/a1$a;
.registers 2
invoke-virtual {p0}, Lcom/google/protobuf/DescriptorProtos$l;->toBuilder()Lcom/google/protobuf/DescriptorProtos$l$b;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic toBuilder()Lf6/d1$a;
.registers 2
invoke-virtual {p0}, Lcom/google/protobuf/DescriptorProtos$l;->toBuilder()Lcom/google/protobuf/DescriptorProtos$l$b;
move-result-object v0
return-object v0
.end method
.method public writeTo(Lf6/p;)V
.registers 6
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
invoke-virtual {p0}, Lf6/i0$e;->d()Lf6/i0$e$a;
move-result-object v0
const/4 v1, 0x0
:goto_5
iget-object v2, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
invoke-interface {v2}, Ljava/util/List;->size()I
move-result v2
if-ge v1, v2, :cond_1d
const/16 v2, 0x3e7
iget-object v3, p0, Lcom/google/protobuf/DescriptorProtos$l;->b:Ljava/util/List;
invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lf6/d1;
invoke-virtual {p1, v2, v3}, Lf6/p;->b(ILf6/d1;)V
add-int/lit8 v1, v1, 0x1
goto :goto_5
:cond_1d
const/high16 v1, 0x20000000
invoke-virtual {v0, v1, p1}, Lf6/i0$e$a;->a(ILf6/p;)V
iget-object v0, p0, Lf6/i0;->unknownFields:Lf6/o2;
invoke-virtual {v0, p1}, Lf6/o2;->writeTo(Lf6/p;)V
return-void
.end method