public class sun.management.snmp.jvminstr.NotificationTargetImpl implements sun.management.snmp.jvminstr.NotificationTarget
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.management.snmp.jvminstr.NotificationTargetImpl
super_class: java.lang.Object
{
private java.net.InetAddress address;
descriptor: Ljava/net/InetAddress;
flags: (0x0002) ACC_PRIVATE
private int port;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual sun.management.snmp.jvminstr.NotificationTargetImpl.parseTarget:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/management/snmp/jvminstr/NotificationTargetImpl;
0 3 1 target Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException, java.net.UnknownHostException
MethodParameters:
Name Flags
target
public void <init>(java.lang.String, int, java.lang.String);
descriptor: (Ljava/lang/String;ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
iload 2
aload 3
invokespecial sun.management.snmp.jvminstr.NotificationTargetImpl.<init>:(Ljava/net/InetAddress;ILjava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/management/snmp/jvminstr/NotificationTargetImpl;
0 2 1 address Ljava/lang/String;
0 2 2 port I
0 2 3 community Ljava/lang/String;
Exceptions:
throws java.net.UnknownHostException
MethodParameters:
Name Flags
address
port
community
public void <init>(java.net.InetAddress, int, java.lang.String);
descriptor: (Ljava/net/InetAddress;ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.management.snmp.jvminstr.NotificationTargetImpl.address:Ljava/net/InetAddress;
2: aload 0
iload 2
putfield sun.management.snmp.jvminstr.NotificationTargetImpl.port:I
3: aload 0
aload 3
putfield sun.management.snmp.jvminstr.NotificationTargetImpl.community:Ljava/lang/String;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/management/snmp/jvminstr/NotificationTargetImpl;
0 5 1 address Ljava/net/InetAddress;
0 5 2 port I
0 5 3 community Ljava/lang/String;
MethodParameters:
Name Flags
address
port
community
private void parseTarget(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 1
invokevirtual java.lang.String.length:()I
ifne 4
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid target ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 17
5: aload 1
ldc "]"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 3
start local 3 6: aload 1
ldc ":"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 4
start local 4 7: iload 3
iconst_m1
if_icmpne 9
8: new java.lang.IllegalArgumentException
dup
ldc "Host starts with [ but does not end with ]"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: sun.management.snmp.jvminstr.NotificationTargetImpl java.lang.String top int int
StackMap stack:
aload 1
iconst_1
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 10: aload 0
aload 1
iload 3
iconst_2
iadd
11: iload 4
12: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield sun.management.snmp.jvminstr.NotificationTargetImpl.port:I
13: aload 2
invokestatic sun.management.snmp.jvminstr.NotificationTargetImpl.isNumericIPv6Address:(Ljava/lang/String;)Z
ifne 15
14: new java.lang.IllegalArgumentException
dup
ldc "Address inside [...] must be numeric IPv6 address"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: sun.management.snmp.jvminstr.NotificationTargetImpl java.lang.String java.lang.String int int
StackMap stack:
aload 2
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 26
16: new java.lang.IllegalArgumentException
dup
ldc "More than one [[...]]"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 17: StackMap locals:
StackMap stack:
aload 1
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 3
start local 3 18: aload 1
ldc ":"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 4
start local 4 19: iload 3
iconst_m1
if_icmpne 22
20: new java.lang.IllegalArgumentException
dup
ldc "Missing port separator \":\""
21: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals: sun.management.snmp.jvminstr.NotificationTargetImpl java.lang.String top int int
StackMap stack:
aload 1
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 23: aload 0
aload 1
iload 3
iconst_1
iadd
24: iload 4
25: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield sun.management.snmp.jvminstr.NotificationTargetImpl.port:I
end local 4 end local 3 26: StackMap locals: sun.management.snmp.jvminstr.NotificationTargetImpl java.lang.String java.lang.String
StackMap stack:
aload 0
aload 2
invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
putfield sun.management.snmp.jvminstr.NotificationTargetImpl.address:Ljava/net/InetAddress;
27: aload 1
ldc ":"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 3
start local 3 28: aload 0
aload 1
iload 3
iconst_1
iadd
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield sun.management.snmp.jvminstr.NotificationTargetImpl.community:Ljava/lang/String;
29: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/management/snmp/jvminstr/NotificationTargetImpl;
0 30 1 target Ljava/lang/String;
10 17 2 addrStr Ljava/lang/String;
23 30 2 addrStr Ljava/lang/String;
6 17 3 index I
7 17 4 index2 I
18 26 3 index I
19 26 4 index2 I
28 30 3 index I
Exceptions:
throws java.lang.IllegalArgumentException, java.net.UnknownHostException
MethodParameters:
Name Flags
target
private static boolean isNumericIPv6Address(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.snmp.jvminstr.NotificationTargetImpl.community:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/snmp/jvminstr/NotificationTargetImpl;
public java.net.InetAddress getAddress();
descriptor: ()Ljava/net/InetAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.snmp.jvminstr.NotificationTargetImpl.address:Ljava/net/InetAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/snmp/jvminstr/NotificationTargetImpl;
public int getPort();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.snmp.jvminstr.NotificationTargetImpl.port:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/management/snmp/jvminstr/NotificationTargetImpl;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "address : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.management.snmp.jvminstr.NotificationTargetImpl.address:Ljava/net/InetAddress;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " port : "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.management.snmp.jvminstr.NotificationTargetImpl.port:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
1: ldc " community : "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.management.snmp.jvminstr.NotificationTargetImpl.community:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/management/snmp/jvminstr/NotificationTargetImpl;
}
SourceFile: "NotificationTargetImpl.java"