public abstract class javax.mail.Service implements java.lang.AutoCloseable
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: javax.mail.Service
  super_class: java.lang.Object
{
  protected javax.mail.Session session;
    descriptor: Ljavax/mail/Session;
    flags: (0x0004) ACC_PROTECTED

  protected volatile javax.mail.URLName url;
    descriptor: Ljavax/mail/URLName;
    flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE

  protected boolean debug;
    descriptor: Z
    flags: (0x0004) ACC_PROTECTED

  private boolean connected;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private final java.util.Vector<javax.mail.event.ConnectionListener> connectionListeners;
    descriptor: Ljava/util/Vector;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Vector<Ljavax/mail/event/ConnectionListener;>;

  private final javax.mail.EventQueue q;
    descriptor: Ljavax/mail/EventQueue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  protected void <init>(javax.mail.Session, javax.mail.URLName);
    descriptor: (Ljavax/mail/Session;Ljavax/mail/URLName;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=9, locals=11, args_size=3
        start local 0 // javax.mail.Service this
        start local 1 // javax.mail.Session session
        start local 2 // javax.mail.URLName urlname
         0: .line 103
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 72
            aload 0 /* this */
            aconst_null
            putfield javax.mail.Service.url:Ljavax/mail/URLName;
         2: .line 78
            aload 0 /* this */
            iconst_0
            putfield javax.mail.Service.debug:Z
         3: .line 80
            aload 0 /* this */
            iconst_0
            putfield javax.mail.Service.connected:Z
         4: .line 89
            aload 0 /* this */
         5: .line 90
            new java.util.Vector
            dup
            invokespecial java.util.Vector.<init>:()V
            putfield javax.mail.Service.connectionListeners:Ljava/util/Vector;
         6: .line 104
            aload 0 /* this */
            aload 1 /* session */
            putfield javax.mail.Service.session:Ljavax/mail/Session;
         7: .line 105
            aload 0 /* this */
            aload 1 /* session */
            invokevirtual javax.mail.Session.getDebug:()Z
            putfield javax.mail.Service.debug:Z
         8: .line 106
            aload 0 /* this */
            aload 2 /* urlname */
            putfield javax.mail.Service.url:Ljavax/mail/URLName;
         9: .line 112
            aconst_null
            astore 3 /* protocol */
        start local 3 // java.lang.String protocol
        10: .line 113
            aconst_null
            astore 4 /* host */
        start local 4 // java.lang.String host
        11: .line 114
            iconst_m1
            istore 5 /* port */
        start local 5 // int port
        12: .line 115
            aconst_null
            astore 6 /* user */
        start local 6 // java.lang.String user
        13: .line 116
            aconst_null
            astore 7 /* password */
        start local 7 // java.lang.String password
        14: .line 117
            aconst_null
            astore 8 /* file */
        start local 8 // java.lang.String file
        15: .line 122
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            ifnull 22
        16: .line 123
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            invokevirtual javax.mail.URLName.getProtocol:()Ljava/lang/String;
            astore 3 /* protocol */
        17: .line 124
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            invokevirtual javax.mail.URLName.getHost:()Ljava/lang/String;
            astore 4 /* host */
        18: .line 125
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            invokevirtual javax.mail.URLName.getPort:()I
            istore 5 /* port */
        19: .line 126
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            invokevirtual javax.mail.URLName.getUsername:()Ljava/lang/String;
            astore 6 /* user */
        20: .line 127
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            invokevirtual javax.mail.URLName.getPassword:()Ljava/lang/String;
            astore 7 /* password */
        21: .line 128
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            invokevirtual javax.mail.URLName.getFile:()Ljava/lang/String;
            astore 8 /* file */
        22: .line 132
      StackMap locals: javax.mail.Service javax.mail.Session javax.mail.URLName java.lang.String java.lang.String int java.lang.String java.lang.String java.lang.String
      StackMap stack:
            aload 3 /* protocol */
            ifnull 27
        23: .line 133
            aload 4 /* host */
            ifnonnull 25
        24: .line 134
            aload 1 /* session */
            new java.lang.StringBuilder
            dup
            ldc "mail."
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* protocol */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ".host"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual javax.mail.Session.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* host */
        25: .line 135
      StackMap locals:
      StackMap stack:
            aload 6 /* user */
            ifnonnull 27
        26: .line 136
            aload 1 /* session */
            new java.lang.StringBuilder
            dup
            ldc "mail."
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* protocol */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ".user"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual javax.mail.Session.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 6 /* user */
        27: .line 140
      StackMap locals:
      StackMap stack:
            aload 4 /* host */
            ifnonnull 29
        28: .line 141
            aload 1 /* session */
            ldc "mail.host"
            invokevirtual javax.mail.Session.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* host */
        29: .line 143
      StackMap locals:
      StackMap stack:
            aload 6 /* user */
            ifnonnull 31
        30: .line 144
            aload 1 /* session */
            ldc "mail.user"
            invokevirtual javax.mail.Session.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 6 /* user */
        31: .line 147
      StackMap locals:
      StackMap stack:
            aload 6 /* user */
            ifnonnull 35
        32: .line 149
            ldc "user.name"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 6 /* user */
        33: .line 150
            goto 35
      StackMap locals:
      StackMap stack: java.lang.SecurityException
        34: pop
        35: .line 156
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new javax.mail.URLName
            dup
            aload 3 /* protocol */
            aload 4 /* host */
            iload 5 /* port */
            aload 8 /* file */
            aload 6 /* user */
            aload 7 /* password */
            invokespecial javax.mail.URLName.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
            putfield javax.mail.Service.url:Ljavax/mail/URLName;
        36: .line 160
            aload 1 /* session */
            invokevirtual javax.mail.Session.getProperties:()Ljava/util/Properties;
            ldc "mail.event.scope"
            ldc "folder"
            invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
        37: .line 159
            astore 9 /* scope */
        start local 9 // java.lang.String scope
        38: .line 162
            aload 1 /* session */
            invokevirtual javax.mail.Session.getProperties:()Ljava/util/Properties;
            ldc "mail.event.executor"
            invokevirtual java.util.Properties.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.concurrent.Executor
        39: .line 161
            astore 10 /* executor */
        start local 10 // java.util.concurrent.Executor executor
        40: .line 163
            aload 9 /* scope */
            ldc "application"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 42
        41: .line 164
            aload 0 /* this */
            aload 10 /* executor */
            invokestatic javax.mail.EventQueue.getApplicationEventQueue:(Ljava/util/concurrent/Executor;)Ljavax/mail/EventQueue;
            putfield javax.mail.Service.q:Ljavax/mail/EventQueue;
            goto 45
        42: .line 165
      StackMap locals: java.lang.String java.util.concurrent.Executor
      StackMap stack:
            aload 9 /* scope */
            ldc "session"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 44
        43: .line 166
            aload 0 /* this */
            aload 1 /* session */
            invokevirtual javax.mail.Session.getEventQueue:()Ljavax/mail/EventQueue;
            putfield javax.mail.Service.q:Ljavax/mail/EventQueue;
            goto 45
        44: .line 169
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new javax.mail.EventQueue
            dup
            aload 10 /* executor */
            invokespecial javax.mail.EventQueue.<init>:(Ljava/util/concurrent/Executor;)V
            putfield javax.mail.Service.q:Ljavax/mail/EventQueue;
        45: .line 170
      StackMap locals:
      StackMap stack:
            return
        end local 10 // java.util.concurrent.Executor executor
        end local 9 // java.lang.String scope
        end local 8 // java.lang.String file
        end local 7 // java.lang.String password
        end local 6 // java.lang.String user
        end local 5 // int port
        end local 4 // java.lang.String host
        end local 3 // java.lang.String protocol
        end local 2 // javax.mail.URLName urlname
        end local 1 // javax.mail.Session session
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   46     0      this  Ljavax/mail/Service;
            0   46     1   session  Ljavax/mail/Session;
            0   46     2   urlname  Ljavax/mail/URLName;
           10   46     3  protocol  Ljava/lang/String;
           11   46     4      host  Ljava/lang/String;
           12   46     5      port  I
           13   46     6      user  Ljava/lang/String;
           14   46     7  password  Ljava/lang/String;
           15   46     8      file  Ljava/lang/String;
           38   46     9     scope  Ljava/lang/String;
           40   46    10  executor  Ljava/util/concurrent/Executor;
      Exception table:
        from    to  target  type
          32    33      34  Class java.lang.SecurityException
    MethodParameters:
         Name  Flags
      session  
      urlname  

  public void connect();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // javax.mail.Service this
         0: .line 195
            aload 0 /* this */
            aconst_null
            aconst_null
            aconst_null
            invokevirtual javax.mail.Service.connect:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
         1: .line 196
            return
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljavax/mail/Service;
    Exceptions:
      throws javax.mail.MessagingException

  public void connect(java.lang.String, java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // javax.mail.Service this
        start local 1 // java.lang.String host
        start local 2 // java.lang.String user
        start local 3 // java.lang.String password
         0: .line 246
            aload 0 /* this */
            aload 1 /* host */
            iconst_m1
            aload 2 /* user */
            aload 3 /* password */
            invokevirtual javax.mail.Service.connect:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
         1: .line 247
            return
        end local 3 // java.lang.String password
        end local 2 // java.lang.String user
        end local 1 // java.lang.String host
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Ljavax/mail/Service;
            0    2     1      host  Ljava/lang/String;
            0    2     2      user  Ljava/lang/String;
            0    2     3  password  Ljava/lang/String;
    Exceptions:
      throws javax.mail.MessagingException
    MethodParameters:
          Name  Flags
      host      
      user      
      password  

  public void connect(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // javax.mail.Service this
        start local 1 // java.lang.String user
        start local 2 // java.lang.String password
         0: .line 267
            aload 0 /* this */
            aconst_null
            aload 1 /* user */
            aload 2 /* password */
            invokevirtual javax.mail.Service.connect:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
         1: .line 268
            return
        end local 2 // java.lang.String password
        end local 1 // java.lang.String user
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Ljavax/mail/Service;
            0    2     1      user  Ljava/lang/String;
            0    2     2  password  Ljava/lang/String;
    Exceptions:
      throws javax.mail.MessagingException
    MethodParameters:
          Name  Flags
      user      
      password  

  public synchronized void connect(java.lang.String, int, java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=9, locals=12, args_size=5
        start local 0 // javax.mail.Service this
        start local 1 // java.lang.String host
        start local 2 // int port
        start local 3 // java.lang.String user
        start local 4 // java.lang.String password
         0: .line 288
            aload 0 /* this */
            invokevirtual javax.mail.Service.isConnected:()Z
            ifeq 2
         1: .line 289
            new java.lang.IllegalStateException
            dup
            ldc "already connected"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 292
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 6 /* connected */
        start local 6 // boolean connected
         3: .line 293
            iconst_0
            istore 7 /* save */
        start local 7 // boolean save
         4: .line 294
            aconst_null
            astore 8 /* protocol */
        start local 8 // java.lang.String protocol
         5: .line 295
            aconst_null
            astore 9 /* file */
        start local 9 // java.lang.String file
         6: .line 300
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            ifnull 20
         7: .line 301
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            invokevirtual javax.mail.URLName.getProtocol:()Ljava/lang/String;
            astore 8 /* protocol */
         8: .line 302
            aload 1 /* host */
            ifnonnull 10
         9: .line 303
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            invokevirtual javax.mail.URLName.getHost:()Ljava/lang/String;
            astore 1 /* host */
        10: .line 304
      StackMap locals: javax.mail.Service java.lang.String int java.lang.String java.lang.String top int int java.lang.String java.lang.String
      StackMap stack:
            iload 2 /* port */
            iconst_m1
            if_icmpne 12
        11: .line 305
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            invokevirtual javax.mail.URLName.getPort:()I
            istore 2 /* port */
        12: .line 307
      StackMap locals:
      StackMap stack:
            aload 3 /* user */
            ifnonnull 17
        13: .line 308
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            invokevirtual javax.mail.URLName.getUsername:()Ljava/lang/String;
            astore 3 /* user */
        14: .line 309
            aload 4 /* password */
            ifnonnull 19
        15: .line 310
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            invokevirtual javax.mail.URLName.getPassword:()Ljava/lang/String;
            astore 4 /* password */
        16: .line 311
            goto 19
        17: .line 312
      StackMap locals:
      StackMap stack:
            aload 4 /* password */
            ifnonnull 19
            aload 3 /* user */
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            invokevirtual javax.mail.URLName.getUsername:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 19
        18: .line 314
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            invokevirtual javax.mail.URLName.getPassword:()Ljava/lang/String;
            astore 4 /* password */
        19: .line 317
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            invokevirtual javax.mail.URLName.getFile:()Ljava/lang/String;
            astore 9 /* file */
        20: .line 321
      StackMap locals:
      StackMap stack:
            aload 8 /* protocol */
            ifnull 25
        21: .line 322
            aload 1 /* host */
            ifnonnull 23
        22: .line 323
            aload 0 /* this */
            getfield javax.mail.Service.session:Ljavax/mail/Session;
            new java.lang.StringBuilder
            dup
            ldc "mail."
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 8 /* protocol */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ".host"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual javax.mail.Session.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 1 /* host */
        23: .line 324
      StackMap locals:
      StackMap stack:
            aload 3 /* user */
            ifnonnull 25
        24: .line 325
            aload 0 /* this */
            getfield javax.mail.Service.session:Ljavax/mail/Session;
            new java.lang.StringBuilder
            dup
            ldc "mail."
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 8 /* protocol */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ".user"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual javax.mail.Session.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 3 /* user */
        25: .line 329
      StackMap locals:
      StackMap stack:
            aload 1 /* host */
            ifnonnull 27
        26: .line 330
            aload 0 /* this */
            getfield javax.mail.Service.session:Ljavax/mail/Session;
            ldc "mail.host"
            invokevirtual javax.mail.Session.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 1 /* host */
        27: .line 332
      StackMap locals:
      StackMap stack:
            aload 3 /* user */
            ifnonnull 29
        28: .line 333
            aload 0 /* this */
            getfield javax.mail.Service.session:Ljavax/mail/Session;
            ldc "mail.user"
            invokevirtual javax.mail.Session.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 3 /* user */
        29: .line 336
      StackMap locals:
      StackMap stack:
            aload 3 /* user */
            ifnonnull 33
        30: .line 338
            ldc "user.name"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 3 /* user */
        31: .line 339
            goto 33
      StackMap locals:
      StackMap stack: java.lang.SecurityException
        32: pop
        33: .line 346
      StackMap locals:
      StackMap stack:
            aload 4 /* password */
            ifnonnull 45
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            ifnull 45
        34: .line 348
            aload 0 /* this */
            new javax.mail.URLName
            dup
            aload 8 /* protocol */
            aload 1 /* host */
            iload 2 /* port */
            aload 9 /* file */
            aload 3 /* user */
            aconst_null
            invokespecial javax.mail.URLName.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
            invokevirtual javax.mail.Service.setURLName:(Ljavax/mail/URLName;)V
        35: .line 349
            aload 0 /* this */
            getfield javax.mail.Service.session:Ljavax/mail/Session;
            aload 0 /* this */
            invokevirtual javax.mail.Service.getURLName:()Ljavax/mail/URLName;
            invokevirtual javax.mail.Session.getPasswordAuthentication:(Ljavax/mail/URLName;)Ljavax/mail/PasswordAuthentication;
            astore 5 /* pw */
        start local 5 // javax.mail.PasswordAuthentication pw
        36: .line 350
            aload 5 /* pw */
            ifnull 44
        37: .line 351
            aload 3 /* user */
            ifnonnull 41
        38: .line 352
            aload 5 /* pw */
            invokevirtual javax.mail.PasswordAuthentication.getUserName:()Ljava/lang/String;
            astore 3 /* user */
        39: .line 353
            aload 5 /* pw */
            invokevirtual javax.mail.PasswordAuthentication.getPassword:()Ljava/lang/String;
            astore 4 /* password */
        40: .line 354
            goto 45
      StackMap locals: javax.mail.Service java.lang.String int java.lang.String java.lang.String javax.mail.PasswordAuthentication int int java.lang.String java.lang.String
      StackMap stack:
        41: aload 3 /* user */
            aload 5 /* pw */
            invokevirtual javax.mail.PasswordAuthentication.getUserName:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 45
        42: .line 355
            aload 5 /* pw */
            invokevirtual javax.mail.PasswordAuthentication.getPassword:()Ljava/lang/String;
            astore 4 /* password */
        43: .line 357
            goto 45
        44: .line 358
      StackMap locals:
      StackMap stack:
            iconst_1
            istore 7 /* save */
        end local 5 // javax.mail.PasswordAuthentication pw
        45: .line 364
      StackMap locals: javax.mail.Service java.lang.String int java.lang.String java.lang.String top int int java.lang.String java.lang.String
      StackMap stack:
            aconst_null
            astore 10 /* authEx */
        start local 10 // javax.mail.AuthenticationFailedException authEx
        46: .line 366
            aload 0 /* this */
            aload 1 /* host */
            iload 2 /* port */
            aload 3 /* user */
            aload 4 /* password */
            invokevirtual javax.mail.Service.protocolConnect:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Z
            istore 6 /* connected */
        47: .line 367
            goto 50
      StackMap locals: javax.mail.Service java.lang.String int java.lang.String java.lang.String top int int java.lang.String java.lang.String javax.mail.AuthenticationFailedException
      StackMap stack: javax.mail.AuthenticationFailedException
        48: astore 11 /* ex */
        start local 11 // javax.mail.AuthenticationFailedException ex
        49: .line 368
            aload 11 /* ex */
            astore 10 /* authEx */
        end local 11 // javax.mail.AuthenticationFailedException ex
        50: .line 372
      StackMap locals:
      StackMap stack:
            iload 6 /* connected */
            ifne 64
        51: .line 375
            aload 1 /* host */
            invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
            astore 11 /* addr */
        start local 11 // java.net.InetAddress addr
        52: .line 376
            goto 55
        end local 11 // java.net.InetAddress addr
      StackMap locals:
      StackMap stack: java.net.UnknownHostException
        53: pop
        54: .line 377
            aconst_null
            astore 11 /* addr */
        start local 11 // java.net.InetAddress addr
        55: .line 379
      StackMap locals: java.net.InetAddress
      StackMap stack:
            aload 0 /* this */
            getfield javax.mail.Service.session:Ljavax/mail/Session;
        56: .line 380
            aload 11 /* addr */
            iload 2 /* port */
        57: .line 381
            aload 8 /* protocol */
        58: .line 382
            aconst_null
            aload 3 /* user */
        59: .line 379
            invokevirtual javax.mail.Session.requestPasswordAuthentication:(Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljavax/mail/PasswordAuthentication;
            astore 5 /* pw */
        start local 5 // javax.mail.PasswordAuthentication pw
        60: .line 383
            aload 5 /* pw */
            ifnull 64
        61: .line 384
            aload 5 /* pw */
            invokevirtual javax.mail.PasswordAuthentication.getUserName:()Ljava/lang/String;
            astore 3 /* user */
        62: .line 385
            aload 5 /* pw */
            invokevirtual javax.mail.PasswordAuthentication.getPassword:()Ljava/lang/String;
            astore 4 /* password */
        63: .line 388
            aload 0 /* this */
            aload 1 /* host */
            iload 2 /* port */
            aload 3 /* user */
            aload 4 /* password */
            invokevirtual javax.mail.Service.protocolConnect:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Z
            istore 6 /* connected */
        end local 11 // java.net.InetAddress addr
        end local 5 // javax.mail.PasswordAuthentication pw
        64: .line 393
      StackMap locals:
      StackMap stack:
            iload 6 /* connected */
            ifne 76
        65: .line 394
            aload 10 /* authEx */
            ifnull 67
        66: .line 395
            aload 10 /* authEx */
            athrow
        67: .line 396
      StackMap locals:
      StackMap stack:
            aload 3 /* user */
            ifnonnull 71
        68: .line 397
            new javax.mail.AuthenticationFailedException
            dup
        69: .line 398
            ldc "failed to connect, no user name specified?"
        70: .line 397
            invokespecial javax.mail.AuthenticationFailedException.<init>:(Ljava/lang/String;)V
            athrow
        71: .line 399
      StackMap locals:
      StackMap stack:
            aload 4 /* password */
            ifnonnull 75
        72: .line 400
            new javax.mail.AuthenticationFailedException
            dup
        73: .line 401
            ldc "failed to connect, no password specified?"
        74: .line 400
            invokespecial javax.mail.AuthenticationFailedException.<init>:(Ljava/lang/String;)V
            athrow
        75: .line 403
      StackMap locals:
      StackMap stack:
            new javax.mail.AuthenticationFailedException
            dup
            ldc "failed to connect"
            invokespecial javax.mail.AuthenticationFailedException.<init>:(Ljava/lang/String;)V
            athrow
        76: .line 406
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new javax.mail.URLName
            dup
            aload 8 /* protocol */
            aload 1 /* host */
            iload 2 /* port */
            aload 9 /* file */
            aload 3 /* user */
            aload 4 /* password */
            invokespecial javax.mail.URLName.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
            invokevirtual javax.mail.Service.setURLName:(Ljavax/mail/URLName;)V
        77: .line 408
            iload 7 /* save */
            ifeq 81
        78: .line 409
            aload 0 /* this */
            getfield javax.mail.Service.session:Ljavax/mail/Session;
            aload 0 /* this */
            invokevirtual javax.mail.Service.getURLName:()Ljavax/mail/URLName;
        79: .line 410
            new javax.mail.PasswordAuthentication
            dup
            aload 3 /* user */
            aload 4 /* password */
            invokespecial javax.mail.PasswordAuthentication.<init>:(Ljava/lang/String;Ljava/lang/String;)V
        80: .line 409
            invokevirtual javax.mail.Session.setPasswordAuthentication:(Ljavax/mail/URLName;Ljavax/mail/PasswordAuthentication;)V
        81: .line 413
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            invokevirtual javax.mail.Service.setConnected:(Z)V
        82: .line 416
            aload 0 /* this */
            iconst_1
            invokevirtual javax.mail.Service.notifyConnectionListeners:(I)V
        83: .line 417
            return
        end local 10 // javax.mail.AuthenticationFailedException authEx
        end local 9 // java.lang.String file
        end local 8 // java.lang.String protocol
        end local 7 // boolean save
        end local 6 // boolean connected
        end local 4 // java.lang.String password
        end local 3 // java.lang.String user
        end local 2 // int port
        end local 1 // java.lang.String host
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   84     0       this  Ljavax/mail/Service;
            0   84     1       host  Ljava/lang/String;
            0   84     2       port  I
            0   84     3       user  Ljava/lang/String;
            0   84     4   password  Ljava/lang/String;
           36   45     5         pw  Ljavax/mail/PasswordAuthentication;
           60   64     5         pw  Ljavax/mail/PasswordAuthentication;
            3   84     6  connected  Z
            4   84     7       save  Z
            5   84     8   protocol  Ljava/lang/String;
            6   84     9       file  Ljava/lang/String;
           46   84    10     authEx  Ljavax/mail/AuthenticationFailedException;
           49   50    11         ex  Ljavax/mail/AuthenticationFailedException;
           52   53    11       addr  Ljava/net/InetAddress;
           55   64    11       addr  Ljava/net/InetAddress;
      Exception table:
        from    to  target  type
          30    31      32  Class java.lang.SecurityException
          46    47      48  Class javax.mail.AuthenticationFailedException
          51    52      53  Class java.net.UnknownHostException
    Exceptions:
      throws javax.mail.MessagingException
    MethodParameters:
          Name  Flags
      host      
      port      
      user      
      password  

  protected boolean protocolConnect(java.lang.String, int, java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=5, args_size=5
        start local 0 // javax.mail.Service this
        start local 1 // java.lang.String host
        start local 2 // int port
        start local 3 // java.lang.String user
        start local 4 // java.lang.String password
         0: .line 453
            iconst_0
            ireturn
        end local 4 // java.lang.String password
        end local 3 // java.lang.String user
        end local 2 // int port
        end local 1 // java.lang.String host
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Ljavax/mail/Service;
            0    1     1      host  Ljava/lang/String;
            0    1     2      port  I
            0    1     3      user  Ljava/lang/String;
            0    1     4  password  Ljava/lang/String;
    Exceptions:
      throws javax.mail.MessagingException
    MethodParameters:
          Name  Flags
      host      
      port      
      user      
      password  

  public synchronized boolean isConnected();
    descriptor: ()Z
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javax.mail.Service this
         0: .line 469
            aload 0 /* this */
            getfield javax.mail.Service.connected:Z
            ireturn
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavax/mail/Service;

  protected synchronized void setConnected(boolean);
    descriptor: (Z)V
    flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // javax.mail.Service this
        start local 1 // boolean connected
         0: .line 486
            aload 0 /* this */
            iload 1 /* connected */
            putfield javax.mail.Service.connected:Z
         1: .line 487
            return
        end local 1 // boolean connected
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Ljavax/mail/Service;
            0    2     1  connected  Z
    MethodParameters:
           Name  Flags
      connected  

  public synchronized void close();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // javax.mail.Service this
         0: .line 509
            aload 0 /* this */
            iconst_0
            invokevirtual javax.mail.Service.setConnected:(Z)V
         1: .line 510
            aload 0 /* this */
            iconst_3
            invokevirtual javax.mail.Service.notifyConnectionListeners:(I)V
         2: .line 511
            return
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljavax/mail/Service;
    Exceptions:
      throws javax.mail.MessagingException

  public javax.mail.URLName getURLName();
    descriptor: ()Ljavax/mail/URLName;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=2, args_size=1
        start local 0 // javax.mail.Service this
         0: .line 528
            aload 0 /* this */
            getfield javax.mail.Service.url:Ljavax/mail/URLName;
            astore 1 /* url */
        start local 1 // javax.mail.URLName url
         1: .line 529
            aload 1 /* url */
            ifnull 6
            aload 1 /* url */
            invokevirtual javax.mail.URLName.getPassword:()Ljava/lang/String;
            ifnonnull 2
            aload 1 /* url */
            invokevirtual javax.mail.URLName.getFile:()Ljava/lang/String;
            ifnull 6
         2: .line 530
      StackMap locals: javax.mail.URLName
      StackMap stack:
            new javax.mail.URLName
            dup
            aload 1 /* url */
            invokevirtual javax.mail.URLName.getProtocol:()Ljava/lang/String;
            aload 1 /* url */
            invokevirtual javax.mail.URLName.getHost:()Ljava/lang/String;
         3: .line 531
            aload 1 /* url */
            invokevirtual javax.mail.URLName.getPort:()I
            aconst_null
         4: .line 532
            aload 1 /* url */
            invokevirtual javax.mail.URLName.getUsername:()Ljava/lang/String;
            aconst_null
         5: .line 530
            invokespecial javax.mail.URLName.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
            areturn
         6: .line 534
      StackMap locals:
      StackMap stack:
            aload 1 /* url */
            areturn
        end local 1 // javax.mail.URLName url
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljavax/mail/Service;
            1    7     1   url  Ljavax/mail/URLName;

  protected void setURLName(javax.mail.URLName);
    descriptor: (Ljavax/mail/URLName;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // javax.mail.Service this
        start local 1 // javax.mail.URLName url
         0: .line 556
            aload 0 /* this */
            aload 1 /* url */
            putfield javax.mail.Service.url:Ljavax/mail/URLName;
         1: .line 557
            return
        end local 1 // javax.mail.URLName url
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljavax/mail/Service;
            0    2     1   url  Ljavax/mail/URLName;
    MethodParameters:
      Name  Flags
      url   

  public void addConnectionListener(javax.mail.event.ConnectionListener);
    descriptor: (Ljavax/mail/event/ConnectionListener;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // javax.mail.Service this
        start local 1 // javax.mail.event.ConnectionListener l
         0: .line 569
            aload 0 /* this */
            getfield javax.mail.Service.connectionListeners:Ljava/util/Vector;
            aload 1 /* l */
            invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
         1: .line 570
            return
        end local 1 // javax.mail.event.ConnectionListener l
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljavax/mail/Service;
            0    2     1     l  Ljavax/mail/event/ConnectionListener;
    MethodParameters:
      Name  Flags
      l     

  public void removeConnectionListener(javax.mail.event.ConnectionListener);
    descriptor: (Ljavax/mail/event/ConnectionListener;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // javax.mail.Service this
        start local 1 // javax.mail.event.ConnectionListener l
         0: .line 582
            aload 0 /* this */
            getfield javax.mail.Service.connectionListeners:Ljava/util/Vector;
            aload 1 /* l */
            invokevirtual java.util.Vector.removeElement:(Ljava/lang/Object;)Z
            pop
         1: .line 583
            return
        end local 1 // javax.mail.event.ConnectionListener l
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljavax/mail/Service;
            0    2     1     l  Ljavax/mail/event/ConnectionListener;
    MethodParameters:
      Name  Flags
      l     

  protected void notifyConnectionListeners(int);
    descriptor: (I)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // javax.mail.Service this
        start local 1 // int type
         0: .line 603
            aload 0 /* this */
            getfield javax.mail.Service.connectionListeners:Ljava/util/Vector;
            invokevirtual java.util.Vector.size:()I
            ifle 3
         1: .line 604
            new javax.mail.event.ConnectionEvent
            dup
            aload 0 /* this */
            iload 1 /* type */
            invokespecial javax.mail.event.ConnectionEvent.<init>:(Ljava/lang/Object;I)V
            astore 2 /* e */
        start local 2 // javax.mail.event.ConnectionEvent e
         2: .line 605
            aload 0 /* this */
            aload 2 /* e */
            aload 0 /* this */
            getfield javax.mail.Service.connectionListeners:Ljava/util/Vector;
            invokevirtual javax.mail.Service.queueEvent:(Ljavax/mail/event/MailEvent;Ljava/util/Vector;)V
        end local 2 // javax.mail.event.ConnectionEvent e
         3: .line 618
      StackMap locals:
      StackMap stack:
            iload 1 /* type */
            iconst_3
            if_icmpne 5
         4: .line 619
            aload 0 /* this */
            getfield javax.mail.Service.q:Ljavax/mail/EventQueue;
            invokevirtual javax.mail.EventQueue.terminateQueue:()V
         5: .line 620
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int type
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljavax/mail/Service;
            0    6     1  type  I
            2    3     2     e  Ljavax/mail/event/ConnectionEvent;
    MethodParameters:
      Name  Flags
      type  

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // javax.mail.Service this
         0: .line 628
            aload 0 /* this */
            invokevirtual javax.mail.Service.getURLName:()Ljavax/mail/URLName;
            astore 1 /* url */
        start local 1 // javax.mail.URLName url
         1: .line 629
            aload 1 /* url */
            ifnull 3
         2: .line 630
            aload 1 /* url */
            invokevirtual javax.mail.URLName.toString:()Ljava/lang/String;
            areturn
         3: .line 632
      StackMap locals: javax.mail.URLName
      StackMap stack:
            aload 0 /* this */
            invokespecial java.lang.Object.toString:()Ljava/lang/String;
            areturn
        end local 1 // javax.mail.URLName url
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljavax/mail/Service;
            1    4     1   url  Ljavax/mail/URLName;

  protected void queueEvent(javax.mail.event.MailEvent, java.util.Vector<? extends java.util.EventListener>);
    descriptor: (Ljavax/mail/event/MailEvent;Ljava/util/Vector;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // javax.mail.Service this
        start local 1 // javax.mail.event.MailEvent event
        start local 2 // java.util.Vector vector
         0: .line 652
            aload 2 /* vector */
            invokevirtual java.util.Vector.clone:()Ljava/lang/Object;
            checkcast java.util.Vector
            astore 3 /* v */
        start local 3 // java.util.Vector v
         1: .line 653
            aload 0 /* this */
            getfield javax.mail.Service.q:Ljavax/mail/EventQueue;
            aload 1 /* event */
            aload 3 /* v */
            invokevirtual javax.mail.EventQueue.enqueue:(Ljavax/mail/event/MailEvent;Ljava/util/Vector;)V
         2: .line 654
            return
        end local 3 // java.util.Vector v
        end local 2 // java.util.Vector vector
        end local 1 // javax.mail.event.MailEvent event
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Ljavax/mail/Service;
            0    3     1   event  Ljavax/mail/event/MailEvent;
            0    3     2  vector  Ljava/util/Vector<+Ljava/util/EventListener;>;
            1    3     3       v  Ljava/util/Vector<+Ljava/util/EventListener;>;
    Signature: (Ljavax/mail/event/MailEvent;Ljava/util/Vector<+Ljava/util/EventListener;>;)V
    MethodParameters:
        Name  Flags
      event   
      vector  

  protected void finalize();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // javax.mail.Service this
         0: .line 662
            aload 0 /* this */
            getfield javax.mail.Service.q:Ljavax/mail/EventQueue;
            invokevirtual javax.mail.EventQueue.terminateQueue:()V
         1: .line 663
            goto 5
      StackMap locals:
      StackMap stack: java.lang.Throwable
         2: astore 1
         3: .line 664
            aload 0 /* this */
            invokespecial java.lang.Object.finalize:()V
         4: .line 665
            aload 1
            athrow
         5: .line 664
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokespecial java.lang.Object.finalize:()V
         6: .line 666
            return
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljavax/mail/Service;
      Exception table:
        from    to  target  type
           0     2       2  any
    Exceptions:
      throws java.lang.Throwable

  javax.mail.Session getSession();
    descriptor: ()Ljavax/mail/Session;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javax.mail.Service this
         0: .line 672
            aload 0 /* this */
            getfield javax.mail.Service.session:Ljavax/mail/Session;
            areturn
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavax/mail/Service;

  javax.mail.EventQueue getEventQueue();
    descriptor: ()Ljavax/mail/EventQueue;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javax.mail.Service this
         0: .line 679
            aload 0 /* this */
            getfield javax.mail.Service.q:Ljavax/mail/EventQueue;
            areturn
        end local 0 // javax.mail.Service this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavax/mail/Service;
}
SourceFile: "Service.java"