public class javax.management.MBeanServerInvocationHandler implements java.lang.reflect.InvocationHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.management.MBeanServerInvocationHandler
super_class: java.lang.Object
{
private static final java.util.WeakHashMap<java.lang.Class<?>, java.lang.ref.WeakReference<com.sun.jmx.mbeanserver.MXBeanProxy>> mxbeanProxies;
descriptor: Ljava/util/WeakHashMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/WeakHashMap<Ljava/lang/Class<*>;Ljava/lang/ref/WeakReference<Lcom/sun/jmx/mbeanserver/MXBeanProxy;>;>;
private final javax.management.MBeanServerConnection connection;
descriptor: Ljavax/management/MBeanServerConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.management.ObjectName objectName;
descriptor: Ljavax/management/ObjectName;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isMXBean;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
putstatic javax.management.MBeanServerInvocationHandler.mxbeanProxies:Ljava/util/WeakHashMap;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(javax.management.MBeanServerConnection, javax.management.ObjectName);
descriptor: (Ljavax/management/MBeanServerConnection;Ljavax/management/ObjectName;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokespecial javax.management.MBeanServerInvocationHandler.<init>:(Ljavax/management/MBeanServerConnection;Ljavax/management/ObjectName;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/management/MBeanServerInvocationHandler;
0 2 1 connection Ljavax/management/MBeanServerConnection;
0 2 2 objectName Ljavax/management/ObjectName;
MethodParameters:
Name Flags
connection
objectName
public void <init>(javax.management.MBeanServerConnection, javax.management.ObjectName, boolean);
descriptor: (Ljavax/management/MBeanServerConnection;Ljavax/management/ObjectName;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "Null connection"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.management.MBeanServerInvocationHandler javax.management.MBeanServerConnection javax.management.ObjectName int
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic java.lang.reflect.Proxy.isProxyClass:(Ljava/lang/Class;)Z
ifeq 9
4: ldc Ljavax/management/MBeanServerInvocationHandler;
5: aload 1
invokestatic java.lang.reflect.Proxy.getInvocationHandler:(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
6: invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
7: ifeq 9
8: new java.lang.IllegalArgumentException
dup
ldc "Wrapping MBeanServerInvocationHandler"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 2
ifnonnull 11
10: new java.lang.IllegalArgumentException
dup
ldc "Null object name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
12: aload 0
aload 2
putfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
13: aload 0
iload 3
putfield javax.management.MBeanServerInvocationHandler.isMXBean:Z
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/management/MBeanServerInvocationHandler;
0 15 1 connection Ljavax/management/MBeanServerConnection;
0 15 2 objectName Ljavax/management/ObjectName;
0 15 3 isMXBean Z
MethodParameters:
Name Flags
connection
objectName
isMXBean
public javax.management.MBeanServerConnection getMBeanServerConnection();
descriptor: ()Ljavax/management/MBeanServerConnection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/MBeanServerInvocationHandler;
public javax.management.ObjectName getObjectName();
descriptor: ()Ljavax/management/ObjectName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/MBeanServerInvocationHandler;
public boolean isMXBean();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.MBeanServerInvocationHandler.isMXBean:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/MBeanServerInvocationHandler;
public static <T> T newProxyInstance(javax.management.MBeanServerConnection, javax.management.ObjectName, java.lang.Class<T>, );
descriptor: (Ljavax/management/MBeanServerConnection;Ljavax/management/ObjectName;Ljava/lang/Class;Z)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
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
aload 2
iload 3
invokestatic javax.management.JMX.newMBeanProxy:(Ljavax/management/MBeanServerConnection;Ljavax/management/ObjectName;Ljava/lang/Class;Z)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 connection Ljavax/management/MBeanServerConnection;
0 1 1 objectName Ljavax/management/ObjectName;
0 1 2 interfaceClass Ljava/lang/Class<TT;>;
0 1 3 notificationBroadcaster Z
Signature: <T:Ljava/lang/Object;>(Ljavax/management/MBeanServerConnection;Ljavax/management/ObjectName;Ljava/lang/Class<TT;>;Z)TT;
MethodParameters:
Name Flags
connection
objectName
interfaceClass
notificationBroadcaster
public java.lang.Object invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
astore 4
start local 4 1: aload 4
ldc Ljavax/management/NotificationBroadcaster;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 3
2: aload 4
ldc Ljavax/management/NotificationEmitter;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
3: StackMap locals: java.lang.Class
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokevirtual javax.management.MBeanServerInvocationHandler.invokeBroadcasterMethod:(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual javax.management.MBeanServerInvocationHandler.shouldDoLocally:(Ljava/lang/Object;Ljava/lang/reflect/Method;)Z
ifeq 6
5: aload 0
aload 1
aload 2
aload 3
invokevirtual javax.management.MBeanServerInvocationHandler.doLocally:(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.management.MBeanServerInvocationHandler.isMXBean:()Z
ifeq 10
7: aload 4
invokestatic javax.management.MBeanServerInvocationHandler.findMXBeanProxy:(Ljava/lang/Class;)Lcom/sun/jmx/mbeanserver/MXBeanProxy;
astore 5
start local 5 8: aload 5
aload 0
getfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
aload 0
getfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
aload 2
aload 3
invokevirtual com.sun.jmx.mbeanserver.MXBeanProxy.invoke:(Ljavax/management/MBeanServerConnection;Ljavax/management/ObjectName;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
9: areturn
end local 5 10: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 5
start local 5 11: aload 2
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
astore 6
start local 6 12: aload 2
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
astore 7
start local 7 13: aload 3
ifnonnull 14
iconst_0
goto 15
StackMap locals: java.lang.String java.lang.Class[] java.lang.Class
StackMap stack:
14: aload 3
arraylength
StackMap locals:
StackMap stack: int
15: istore 8
start local 8 16: aload 5
ldc "get"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 24
17: aload 5
invokevirtual java.lang.String.length:()I
iconst_3
if_icmple 24
18: iload 8
ifne 24
19: aload 7
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 24
20: aload 0
getfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
aload 0
getfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
21: aload 5
iconst_3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
22: invokeinterface javax.management.MBeanServerConnection.getAttribute:(Ljavax/management/ObjectName;Ljava/lang/String;)Ljava/lang/Object;
23: areturn
24: StackMap locals: int
StackMap stack:
aload 5
ldc "is"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 33
25: aload 5
invokevirtual java.lang.String.length:()I
iconst_2
if_icmple 33
26: iload 8
ifne 33
27: aload 7
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 29
28: aload 7
ldc Ljava/lang/Boolean;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 33
29: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
aload 0
getfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
30: aload 5
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
31: invokeinterface javax.management.MBeanServerConnection.getAttribute:(Ljavax/management/ObjectName;Ljava/lang/String;)Ljava/lang/Object;
32: areturn
33: StackMap locals:
StackMap stack:
aload 5
ldc "set"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 40
34: aload 5
invokevirtual java.lang.String.length:()I
iconst_3
if_icmple 40
35: iload 8
iconst_1
if_icmpne 40
36: aload 7
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 40
37: new javax.management.Attribute
dup
aload 5
iconst_3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aload 3
iconst_0
aaload
invokespecial javax.management.Attribute.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 9
start local 9 38: aload 0
getfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
aload 0
getfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
aload 9
invokeinterface javax.management.MBeanServerConnection.setAttribute:(Ljavax/management/ObjectName;Ljavax/management/Attribute;)V
39: aconst_null
areturn
end local 9 40: StackMap locals:
StackMap stack:
aload 6
arraylength
anewarray java.lang.String
astore 9
start local 9 41: iconst_0
istore 10
start local 10 42: goto 45
43: StackMap locals: java.lang.String[] int
StackMap stack:
aload 9
iload 10
aload 6
iload 10
aaload
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
44: iinc 10 1
StackMap locals:
StackMap stack:
45: iload 10
aload 6
arraylength
if_icmplt 43
end local 10 46: aload 0
getfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
aload 0
getfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
aload 5
47: aload 3
aload 9
48: invokeinterface javax.management.MBeanServerConnection.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
49: areturn
end local 9 end local 8 end local 7 end local 6 end local 5 50: StackMap locals: javax.management.MBeanServerInvocationHandler java.lang.Object java.lang.reflect.Method java.lang.Object[] java.lang.Class
StackMap stack: javax.management.MBeanException
astore 5
start local 5 51: aload 5
invokevirtual javax.management.MBeanException.getTargetException:()Ljava/lang/Exception;
athrow
end local 5 52: StackMap locals:
StackMap stack: javax.management.RuntimeMBeanException
astore 5
start local 5 53: aload 5
invokevirtual javax.management.RuntimeMBeanException.getTargetException:()Ljava/lang/RuntimeException;
athrow
end local 5 54: StackMap locals:
StackMap stack: javax.management.RuntimeErrorException
astore 5
start local 5 55: aload 5
invokevirtual javax.management.RuntimeErrorException.getTargetError:()Ljava/lang/Error;
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 56 0 this Ljavax/management/MBeanServerInvocationHandler;
0 56 1 proxy Ljava/lang/Object;
0 56 2 method Ljava/lang/reflect/Method;
0 56 3 args [Ljava/lang/Object;
1 56 4 methodClass Ljava/lang/Class<*>;
8 10 5 p Lcom/sun/jmx/mbeanserver/MXBeanProxy;
11 50 5 methodName Ljava/lang/String;
12 50 6 paramTypes [Ljava/lang/Class;
13 50 7 returnType Ljava/lang/Class<*>;
16 50 8 nargs I
38 40 9 attr Ljavax/management/Attribute;
41 50 9 signature [Ljava/lang/String;
42 46 10 i I
51 52 5 e Ljavax/management/MBeanException;
53 54 5 re Ljavax/management/RuntimeMBeanException;
55 56 5 rre Ljavax/management/RuntimeErrorException;
Exception table:
from to target type
6 9 50 Class javax.management.MBeanException
10 23 50 Class javax.management.MBeanException
24 32 50 Class javax.management.MBeanException
33 39 50 Class javax.management.MBeanException
40 49 50 Class javax.management.MBeanException
6 9 52 Class javax.management.RuntimeMBeanException
10 23 52 Class javax.management.RuntimeMBeanException
24 32 52 Class javax.management.RuntimeMBeanException
33 39 52 Class javax.management.RuntimeMBeanException
40 49 52 Class javax.management.RuntimeMBeanException
6 9 54 Class javax.management.RuntimeErrorException
10 23 54 Class javax.management.RuntimeErrorException
24 32 54 Class javax.management.RuntimeErrorException
33 39 54 Class javax.management.RuntimeErrorException
40 49 54 Class javax.management.RuntimeErrorException
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
proxy
method
args
private static com.sun.jmx.mbeanserver.MXBeanProxy findMXBeanProxy(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lcom/sun/jmx/mbeanserver/MXBeanProxy;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: getstatic javax.management.MBeanServerInvocationHandler.mxbeanProxies:Ljava/util/WeakHashMap;
dup
astore 1
monitorenter
1: getstatic javax.management.MBeanServerInvocationHandler.mxbeanProxies:Ljava/util/WeakHashMap;
aload 0
invokevirtual java.util.WeakHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ref.WeakReference
2: astore 2
start local 2 3: aload 2
ifnonnull 4
aconst_null
goto 5
StackMap locals: java.util.WeakHashMap java.lang.ref.WeakReference
StackMap stack:
4: aload 2
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast com.sun.jmx.mbeanserver.MXBeanProxy
StackMap locals:
StackMap stack: com.sun.jmx.mbeanserver.MXBeanProxy
5: astore 3
start local 3 6: aload 3
ifnonnull 20
7: new com.sun.jmx.mbeanserver.MXBeanProxy
dup
aload 0
invokespecial com.sun.jmx.mbeanserver.MXBeanProxy.<init>:(Ljava/lang/Class;)V
astore 3
8: goto 17
StackMap locals: java.lang.Class java.util.WeakHashMap java.lang.ref.WeakReference com.sun.jmx.mbeanserver.MXBeanProxy
StackMap stack: java.lang.IllegalArgumentException
9: astore 4
start local 4 10: new java.lang.StringBuilder
dup
ldc "Cannot make MXBean proxy for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 13: new java.lang.IllegalArgumentException
dup
aload 5
aload 4
invokevirtual java.lang.IllegalArgumentException.getCause:()Ljava/lang/Throwable;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
14: astore 6
start local 6 15: aload 6
aload 4
invokevirtual java.lang.IllegalArgumentException.getStackTrace:()[Ljava/lang/StackTraceElement;
invokevirtual java.lang.IllegalArgumentException.setStackTrace:([Ljava/lang/StackTraceElement;)V
16: aload 6
athrow
end local 6 end local 5 end local 4 17: StackMap locals:
StackMap stack:
getstatic javax.management.MBeanServerInvocationHandler.mxbeanProxies:Ljava/util/WeakHashMap;
aload 0
18: new java.lang.ref.WeakReference
dup
aload 3
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
19: invokevirtual java.util.WeakHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
20: StackMap locals:
StackMap stack:
aload 3
aload 1
monitorexit
21: areturn
end local 3 end local 2 22: StackMap locals: java.lang.Class java.util.WeakHashMap
StackMap stack: java.lang.Throwable
aload 1
monitorexit
23: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 mxbeanInterface Ljava/lang/Class<*>;
3 22 2 proxyRef Ljava/lang/ref/WeakReference<Lcom/sun/jmx/mbeanserver/MXBeanProxy;>;
6 22 3 p Lcom/sun/jmx/mbeanserver/MXBeanProxy;
10 17 4 e Ljava/lang/IllegalArgumentException;
13 17 5 msg Ljava/lang/String;
15 17 6 iae Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
7 8 9 Class java.lang.IllegalArgumentException
1 21 22 any
22 23 22 any
Signature: (Ljava/lang/Class<*>;)Lcom/sun/jmx/mbeanserver/MXBeanProxy;
MethodParameters:
Name Flags
mxbeanInterface
private java.lang.Object invokeBroadcasterMethod(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 4
start local 4 1: aload 3
ifnonnull 2
iconst_0
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aload 3
arraylength
StackMap locals:
StackMap stack: int
3: istore 5
start local 5 4: aload 4
ldc "addNotificationListener"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
5: iload 5
iconst_3
if_icmpeq 9
6: new java.lang.StringBuilder
dup
ldc "Bad arg count to addNotificationListener: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: astore 6
start local 6 8: new java.lang.IllegalArgumentException
dup
aload 6
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 6 9: StackMap locals: int
StackMap stack:
aload 3
iconst_0
aaload
checkcast javax.management.NotificationListener
astore 6
start local 6 10: aload 3
iconst_1
aaload
checkcast javax.management.NotificationFilter
astore 7
start local 7 11: aload 3
iconst_2
aaload
astore 8
start local 8 12: aload 0
getfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
aload 0
getfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
13: aload 6
14: aload 7
15: aload 8
16: invokeinterface javax.management.MBeanServerConnection.addNotificationListener:(Ljavax/management/ObjectName;Ljavax/management/NotificationListener;Ljavax/management/NotificationFilter;Ljava/lang/Object;)V
17: aconst_null
areturn
end local 8 end local 7 end local 6 18: StackMap locals:
StackMap stack:
aload 4
ldc "removeNotificationListener"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 34
19: aload 3
iconst_0
aaload
checkcast javax.management.NotificationListener
astore 6
start local 6 20: iload 5
tableswitch { // 1 - 3
1: 21
2: 31
3: 23
default: 31
}
21: StackMap locals: javax.management.NotificationListener
StackMap stack:
aload 0
getfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
aload 0
getfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
aload 6
invokeinterface javax.management.MBeanServerConnection.removeNotificationListener:(Ljavax/management/ObjectName;Ljavax/management/NotificationListener;)V
22: aconst_null
areturn
23: StackMap locals:
StackMap stack:
aload 3
iconst_1
aaload
checkcast javax.management.NotificationFilter
astore 7
start local 7 24: aload 3
iconst_2
aaload
astore 8
start local 8 25: aload 0
getfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
aload 0
getfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
26: aload 6
27: aload 7
28: aload 8
29: invokeinterface javax.management.MBeanServerConnection.removeNotificationListener:(Ljavax/management/ObjectName;Ljavax/management/NotificationListener;Ljavax/management/NotificationFilter;Ljava/lang/Object;)V
30: aconst_null
areturn
end local 8 end local 7 31: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Bad arg count to removeNotificationListener: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
32: astore 9
start local 9 33: new java.lang.IllegalArgumentException
dup
aload 9
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 9 end local 6 34: StackMap locals:
StackMap stack:
aload 4
ldc "getNotificationInfo"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 39
35: aload 3
ifnull 37
36: new java.lang.IllegalArgumentException
dup
ldc "getNotificationInfo has args"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
37: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
aload 0
getfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
invokeinterface javax.management.MBeanServerConnection.getMBeanInfo:(Ljavax/management/ObjectName;)Ljavax/management/MBeanInfo;
astore 6
start local 6 38: aload 6
invokevirtual javax.management.MBeanInfo.getNotifications:()[Ljavax/management/MBeanNotificationInfo;
areturn
end local 6 39: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Bad method name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
40: aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
41: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Ljavax/management/MBeanServerInvocationHandler;
0 42 1 proxy Ljava/lang/Object;
0 42 2 method Ljava/lang/reflect/Method;
0 42 3 args [Ljava/lang/Object;
1 42 4 methodName Ljava/lang/String;
4 42 5 nargs I
8 9 6 msg Ljava/lang/String;
10 18 6 listener Ljavax/management/NotificationListener;
11 18 7 filter Ljavax/management/NotificationFilter;
12 18 8 handback Ljava/lang/Object;
20 34 6 listener Ljavax/management/NotificationListener;
24 31 7 filter Ljavax/management/NotificationFilter;
25 31 8 handback Ljava/lang/Object;
33 34 9 msg Ljava/lang/String;
38 39 6 info Ljavax/management/MBeanInfo;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
proxy
method
args
private boolean shouldDoLocally(java.lang.Object, java.lang.reflect.Method);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Method;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 3
start local 3 1: aload 3
ldc "hashCode"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
aload 3
ldc "toString"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
2: StackMap locals: java.lang.String
StackMap stack:
aload 2
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
arraylength
ifne 5
3: aload 1
aload 2
invokestatic javax.management.MBeanServerInvocationHandler.isLocal:(Ljava/lang/Object;Ljava/lang/reflect/Method;)Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 3
ldc "equals"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
6: aload 2
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
7: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
8: invokestatic java.util.Arrays.equals:([Ljava/lang/Object;[Ljava/lang/Object;)Z
9: ifeq 12
10: aload 1
aload 2
invokestatic javax.management.MBeanServerInvocationHandler.isLocal:(Ljava/lang/Object;Ljava/lang/reflect/Method;)Z
ifeq 12
11: iconst_1
ireturn
12: StackMap locals:
StackMap stack:
aload 3
ldc "finalize"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 2
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
arraylength
ifne 15
14: iconst_1
ireturn
15: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/management/MBeanServerInvocationHandler;
0 16 1 proxy Ljava/lang/Object;
0 16 2 method Ljava/lang/reflect/Method;
1 16 3 methodName Ljava/lang/String;
MethodParameters:
Name Flags
proxy
method
private java.lang.Object doLocally(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 4
start local 4 1: aload 4
ldc "equals"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
2: aload 0
aload 3
iconst_0
aaload
if_acmpne 4
3: iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 3
iconst_0
aaload
instanceof java.lang.reflect.Proxy
ifne 6
5: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
6: StackMap locals:
StackMap stack:
aload 3
iconst_0
aaload
invokestatic java.lang.reflect.Proxy.getInvocationHandler:(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;
7: astore 5
start local 5 8: aload 5
ifnull 10
9: aload 5
instanceof javax.management.MBeanServerInvocationHandler
ifne 11
10: StackMap locals: java.lang.reflect.InvocationHandler
StackMap stack:
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
11: StackMap locals:
StackMap stack:
aload 5
checkcast javax.management.MBeanServerInvocationHandler
12: astore 6
start local 6 13: aload 0
getfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
aload 6
getfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 17
14: aload 0
getfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
aload 6
getfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
invokevirtual javax.management.ObjectName.equals:(Ljava/lang/Object;)Z
ifeq 17
15: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 3
iconst_0
aaload
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 17
16: iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
StackMap locals: javax.management.MBeanServerInvocationHandler
StackMap stack:
17: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 6 end local 5 18: StackMap locals:
StackMap stack:
aload 4
ldc "toString"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
19: new java.lang.StringBuilder
dup
aload 0
invokevirtual javax.management.MBeanServerInvocationHandler.isMXBean:()Z
ifeq 20
ldc "MX"
goto 21
StackMap locals: javax.management.MBeanServerInvocationHandler java.lang.Object java.lang.reflect.Method java.lang.Object[] java.lang.String
StackMap stack: new 19 new 19
20: ldc "M"
StackMap locals: javax.management.MBeanServerInvocationHandler java.lang.Object java.lang.reflect.Method java.lang.Object[] java.lang.String
StackMap stack: new 19 new 19 java.lang.String
21: invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "BeanProxy("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: aload 0
getfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "])"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
23: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
24: StackMap locals:
StackMap stack:
aload 4
ldc "hashCode"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
25: aload 0
getfield javax.management.MBeanServerInvocationHandler.objectName:Ljavax/management/ObjectName;
invokevirtual javax.management.ObjectName.hashCode:()I
aload 0
getfield javax.management.MBeanServerInvocationHandler.connection:Ljavax/management/MBeanServerConnection;
invokevirtual java.lang.Object.hashCode:()I
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
26: StackMap locals:
StackMap stack:
aload 4
ldc "finalize"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
27: aconst_null
areturn
28: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Unexpected method name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljavax/management/MBeanServerInvocationHandler;
0 29 1 proxy Ljava/lang/Object;
0 29 2 method Ljava/lang/reflect/Method;
0 29 3 args [Ljava/lang/Object;
1 29 4 methodName Ljava/lang/String;
8 18 5 ihandler Ljava/lang/reflect/InvocationHandler;
13 18 6 handler Ljavax/management/MBeanServerInvocationHandler;
MethodParameters:
Name Flags
proxy
method
args
private static boolean isLocal(java.lang.Object, java.lang.reflect.Method);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Method;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getInterfaces:()[Ljava/lang/Class;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals: java.lang.Class[]
StackMap stack:
aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 3
start local 3 4: aload 1
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
astore 4
start local 4 5: aload 2
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 11
StackMap locals: java.lang.Object java.lang.reflect.Method java.lang.Class[] java.lang.String java.lang.Class[] top int int java.lang.Class[]
StackMap stack:
6: aload 8
iload 6
aaload
astore 5
start local 5 7: aload 5
aload 3
aload 4
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
pop
8: iconst_0
ireturn
9: StackMap locals: java.lang.Object java.lang.reflect.Method java.lang.Class[] java.lang.String java.lang.Class[] java.lang.Class int int java.lang.Class[]
StackMap stack: java.lang.NoSuchMethodException
pop
end local 5 10: iinc 6 1
StackMap locals: java.lang.Object java.lang.reflect.Method java.lang.Class[] java.lang.String java.lang.Class[] top int int java.lang.Class[]
StackMap stack:
11: iload 6
iload 7
if_icmplt 6
12: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 proxy Ljava/lang/Object;
0 13 1 method Ljava/lang/reflect/Method;
1 13 2 interfaces [Ljava/lang/Class;
4 13 3 methodName Ljava/lang/String;
5 13 4 params [Ljava/lang/Class;
7 10 5 intf Ljava/lang/Class<*>;
Exception table:
from to target type
7 8 9 Class java.lang.NoSuchMethodException
MethodParameters:
Name Flags
proxy
method
}
SourceFile: "MBeanServerInvocationHandler.java"