public class org.apache.cassandra.locator.SimpleStrategy extends org.apache.cassandra.locator.AbstractReplicationStrategy
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.cassandra.locator.SimpleStrategy
  super_class: org.apache.cassandra.locator.AbstractReplicationStrategy
{
  public void <init>(java.lang.String, org.apache.cassandra.locator.TokenMetadata, org.apache.cassandra.locator.IEndpointSnitch, java.util.Map<java.lang.String, java.lang.String>);
    descriptor: (Ljava/lang/String;Lorg/apache/cassandra/locator/TokenMetadata;Lorg/apache/cassandra/locator/IEndpointSnitch;Ljava/util/Map;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=5
        start local 0 // org.apache.cassandra.locator.SimpleStrategy this
        start local 1 // java.lang.String keyspaceName
        start local 2 // org.apache.cassandra.locator.TokenMetadata tokenMetadata
        start local 3 // org.apache.cassandra.locator.IEndpointSnitch snitch
        start local 4 // java.util.Map configOptions
         0: .line 42
            aload 0 /* this */
            aload 1 /* keyspaceName */
            aload 2 /* tokenMetadata */
            aload 3 /* snitch */
            aload 4 /* configOptions */
            invokespecial org.apache.cassandra.locator.AbstractReplicationStrategy.<init>:(Ljava/lang/String;Lorg/apache/cassandra/locator/TokenMetadata;Lorg/apache/cassandra/locator/IEndpointSnitch;Ljava/util/Map;)V
         1: .line 43
            return
        end local 4 // java.util.Map configOptions
        end local 3 // org.apache.cassandra.locator.IEndpointSnitch snitch
        end local 2 // org.apache.cassandra.locator.TokenMetadata tokenMetadata
        end local 1 // java.lang.String keyspaceName
        end local 0 // org.apache.cassandra.locator.SimpleStrategy this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    2     0           this  Lorg/apache/cassandra/locator/SimpleStrategy;
            0    2     1   keyspaceName  Ljava/lang/String;
            0    2     2  tokenMetadata  Lorg/apache/cassandra/locator/TokenMetadata;
            0    2     3         snitch  Lorg/apache/cassandra/locator/IEndpointSnitch;
            0    2     4  configOptions  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
    Signature: (Ljava/lang/String;Lorg/apache/cassandra/locator/TokenMetadata;Lorg/apache/cassandra/locator/IEndpointSnitch;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
    MethodParameters:
               Name  Flags
      keyspaceName   
      tokenMetadata  
      snitch         
      configOptions  

  public java.util.List<java.net.InetAddress> calculateNaturalEndpoints(org.apache.cassandra.dht.Token, org.apache.cassandra.locator.TokenMetadata);
    descriptor: (Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/locator/TokenMetadata;)Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=8, args_size=3
        start local 0 // org.apache.cassandra.locator.SimpleStrategy this
        start local 1 // org.apache.cassandra.dht.Token token
        start local 2 // org.apache.cassandra.locator.TokenMetadata metadata
         0: .line 47
            aload 0 /* this */
            invokevirtual org.apache.cassandra.locator.SimpleStrategy.getReplicationFactor:()I
            istore 3 /* replicas */
        start local 3 // int replicas
         1: .line 48
            aload 2 /* metadata */
            invokevirtual org.apache.cassandra.locator.TokenMetadata.sortedTokens:()Ljava/util/ArrayList;
            astore 4 /* tokens */
        start local 4 // java.util.ArrayList tokens
         2: .line 49
            new java.util.ArrayList
            dup
            iload 3 /* replicas */
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 5 /* endpoints */
        start local 5 // java.util.List endpoints
         3: .line 51
            aload 4 /* tokens */
            invokevirtual java.util.ArrayList.isEmpty:()Z
            ifeq 5
         4: .line 52
            aload 5 /* endpoints */
            areturn
         5: .line 55
      StackMap locals: int java.util.ArrayList java.util.List
      StackMap stack:
            aload 4 /* tokens */
            aload 1 /* token */
            iconst_0
            invokestatic org.apache.cassandra.locator.TokenMetadata.ringIterator:(Ljava/util/ArrayList;Lorg/apache/cassandra/dht/Token;Z)Ljava/util/Iterator;
            astore 6 /* iter */
        start local 6 // java.util.Iterator iter
         6: .line 56
            goto 10
         7: .line 58
      StackMap locals: java.util.Iterator
      StackMap stack:
            aload 2 /* metadata */
            aload 6 /* iter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.apache.cassandra.dht.Token
            invokevirtual org.apache.cassandra.locator.TokenMetadata.getEndpoint:(Lorg/apache/cassandra/dht/Token;)Ljava/net/InetAddress;
            astore 7 /* ep */
        start local 7 // java.net.InetAddress ep
         8: .line 59
            aload 5 /* endpoints */
            aload 7 /* ep */
            invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
            ifne 10
         9: .line 60
            aload 5 /* endpoints */
            aload 7 /* ep */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 7 // java.net.InetAddress ep
        10: .line 56
      StackMap locals:
      StackMap stack:
            aload 5 /* endpoints */
            invokeinterface java.util.List.size:()I
            iload 3 /* replicas */
            if_icmpge 11
            aload 6 /* iter */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 7
        11: .line 62
      StackMap locals:
      StackMap stack:
            aload 5 /* endpoints */
            areturn
        end local 6 // java.util.Iterator iter
        end local 5 // java.util.List endpoints
        end local 4 // java.util.ArrayList tokens
        end local 3 // int replicas
        end local 2 // org.apache.cassandra.locator.TokenMetadata metadata
        end local 1 // org.apache.cassandra.dht.Token token
        end local 0 // org.apache.cassandra.locator.SimpleStrategy this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   12     0       this  Lorg/apache/cassandra/locator/SimpleStrategy;
            0   12     1      token  Lorg/apache/cassandra/dht/Token;
            0   12     2   metadata  Lorg/apache/cassandra/locator/TokenMetadata;
            1   12     3   replicas  I
            2   12     4     tokens  Ljava/util/ArrayList<Lorg/apache/cassandra/dht/Token;>;
            3   12     5  endpoints  Ljava/util/List<Ljava/net/InetAddress;>;
            6   12     6       iter  Ljava/util/Iterator<Lorg/apache/cassandra/dht/Token;>;
            8   10     7         ep  Ljava/net/InetAddress;
    Signature: (Lorg/apache/cassandra/dht/Token;Lorg/apache/cassandra/locator/TokenMetadata;)Ljava/util/List<Ljava/net/InetAddress;>;
    MethodParameters:
          Name  Flags
      token     
      metadata  

  public int getReplicationFactor();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.locator.SimpleStrategy this
         0: .line 67
            aload 0 /* this */
            getfield org.apache.cassandra.locator.SimpleStrategy.configOptions:Ljava/util/Map;
            ldc "replication_factor"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            ireturn
        end local 0 // org.apache.cassandra.locator.SimpleStrategy this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/locator/SimpleStrategy;

  public void validateOptions();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.apache.cassandra.locator.SimpleStrategy this
         0: .line 72
            aload 0 /* this */
            getfield org.apache.cassandra.locator.SimpleStrategy.configOptions:Ljava/util/Map;
            ldc "replication_factor"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 1 /* rf */
        start local 1 // java.lang.String rf
         1: .line 73
            aload 1 /* rf */
            ifnonnull 3
         2: .line 74
            new org.apache.cassandra.exceptions.ConfigurationException
            dup
            ldc "SimpleStrategy requires a replication_factor strategy option."
            invokespecial org.apache.cassandra.exceptions.ConfigurationException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 75
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* this */
            aload 1 /* rf */
            invokevirtual org.apache.cassandra.locator.SimpleStrategy.validateReplicationFactor:(Ljava/lang/String;)V
         4: .line 76
            return
        end local 1 // java.lang.String rf
        end local 0 // org.apache.cassandra.locator.SimpleStrategy this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/cassandra/locator/SimpleStrategy;
            1    5     1    rf  Ljava/lang/String;
    Exceptions:
      throws org.apache.cassandra.exceptions.ConfigurationException

  public java.util.Collection<java.lang.String> recognizedOptions();
    descriptor: ()Ljava/util/Collection;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.locator.SimpleStrategy this
         0: .line 80
            ldc "replication_factor"
            invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
            areturn
        end local 0 // org.apache.cassandra.locator.SimpleStrategy this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/locator/SimpleStrategy;
    Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
}
SourceFile: "SimpleStrategy.java"