public class org.apache.tomcat.util.modeler.OperationInfo extends org.apache.tomcat.util.modeler.FeatureInfo
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.modeler.OperationInfo
super_class: org.apache.tomcat.util.modeler.FeatureInfo
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4418342922072614875
protected java.lang.String impact;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String role;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected final java.util.concurrent.locks.ReadWriteLock parametersLock;
descriptor: Ljava/util/concurrent/locks/ReadWriteLock;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected org.apache.tomcat.util.modeler.ParameterInfo[] parameters;
descriptor: [Lorg/apache/tomcat/util/modeler/ParameterInfo;
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.tomcat.util.modeler.FeatureInfo.<init>:()V
1: aload 0
ldc "UNKNOWN"
putfield org.apache.tomcat.util.modeler.OperationInfo.impact:Ljava/lang/String;
2: aload 0
ldc "operation"
putfield org.apache.tomcat.util.modeler.OperationInfo.role:Ljava/lang/String;
3: aload 0
new java.util.concurrent.locks.ReentrantReadWriteLock
dup
invokespecial java.util.concurrent.locks.ReentrantReadWriteLock.<init>:()V
putfield org.apache.tomcat.util.modeler.OperationInfo.parametersLock:Ljava/util/concurrent/locks/ReadWriteLock;
4: aload 0
iconst_0
anewarray org.apache.tomcat.util.modeler.ParameterInfo
putfield org.apache.tomcat.util.modeler.OperationInfo.parameters:[Lorg/apache/tomcat/util/modeler/ParameterInfo;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/modeler/OperationInfo;
public java.lang.String getImpact();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.modeler.OperationInfo.impact:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/modeler/OperationInfo;
public void setImpact(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
aconst_null
putfield org.apache.tomcat.util.modeler.OperationInfo.impact:Ljava/lang/String;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
putfield org.apache.tomcat.util.modeler.OperationInfo.impact:Ljava/lang/String;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/modeler/OperationInfo;
0 4 1 impact Ljava/lang/String;
MethodParameters:
Name Flags
impact
public java.lang.String getRole();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.modeler.OperationInfo.role:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/modeler/OperationInfo;
public void setRole(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
aload 1
putfield org.apache.tomcat.util.modeler.OperationInfo.role:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/modeler/OperationInfo;
0 2 1 role Ljava/lang/String;
MethodParameters:
Name Flags
role
public java.lang.String getReturnType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.modeler.OperationInfo.type:Ljava/lang/String;
ifnonnull 2
1: aload 0
ldc "void"
putfield org.apache.tomcat.util.modeler.OperationInfo.type:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.modeler.OperationInfo.type:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/modeler/OperationInfo;
public void setReturnType(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
aload 1
putfield org.apache.tomcat.util.modeler.OperationInfo.type:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/modeler/OperationInfo;
0 2 1 returnType Ljava/lang/String;
MethodParameters:
Name Flags
returnType
public org.apache.tomcat.util.modeler.ParameterInfo[] getSignature();
descriptor: ()[Lorg/apache/tomcat/util/modeler/ParameterInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.modeler.OperationInfo.parametersLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.readLock:()Ljava/util/concurrent/locks/Lock;
astore 1
start local 1 1: aload 1
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: aload 0
getfield org.apache.tomcat.util.modeler.OperationInfo.parameters:[Lorg/apache/tomcat/util/modeler/ParameterInfo;
astore 3
3: aload 1
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
4: aload 3
areturn
5: StackMap locals: org.apache.tomcat.util.modeler.OperationInfo java.util.concurrent.locks.Lock
StackMap stack: java.lang.Throwable
astore 2
6: aload 1
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
7: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/modeler/OperationInfo;
1 8 1 readLock Ljava/util/concurrent/locks/Lock;
Exception table:
from to target type
2 3 5 any
public void addParameter(org.apache.tomcat.util.modeler.ParameterInfo);
descriptor: (Lorg/apache/tomcat/util/modeler/ParameterInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.modeler.OperationInfo.parametersLock:Ljava/util/concurrent/locks/ReadWriteLock;
invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
astore 2
start local 2 1: aload 2
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: aload 0
getfield org.apache.tomcat.util.modeler.OperationInfo.parameters:[Lorg/apache/tomcat/util/modeler/ParameterInfo;
arraylength
iconst_1
iadd
anewarray org.apache.tomcat.util.modeler.ParameterInfo
astore 3
start local 3 3: aload 0
getfield org.apache.tomcat.util.modeler.OperationInfo.parameters:[Lorg/apache/tomcat/util/modeler/ParameterInfo;
iconst_0
aload 3
iconst_0
aload 0
getfield org.apache.tomcat.util.modeler.OperationInfo.parameters:[Lorg/apache/tomcat/util/modeler/ParameterInfo;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 3
aload 0
getfield org.apache.tomcat.util.modeler.OperationInfo.parameters:[Lorg/apache/tomcat/util/modeler/ParameterInfo;
arraylength
aload 1
aastore
5: aload 0
aload 3
putfield org.apache.tomcat.util.modeler.OperationInfo.parameters:[Lorg/apache/tomcat/util/modeler/ParameterInfo;
6: aload 0
aconst_null
putfield org.apache.tomcat.util.modeler.OperationInfo.info:Ljavax/management/MBeanFeatureInfo;
end local 3 7: goto 11
StackMap locals: org.apache.tomcat.util.modeler.OperationInfo org.apache.tomcat.util.modeler.ParameterInfo java.util.concurrent.locks.Lock
StackMap stack: java.lang.Throwable
8: astore 4
9: aload 2
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
10: aload 4
athrow
11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/tomcat/util/modeler/OperationInfo;
0 13 1 parameter Lorg/apache/tomcat/util/modeler/ParameterInfo;
1 13 2 writeLock Ljava/util/concurrent/locks/Lock;
3 7 3 results [Lorg/apache/tomcat/util/modeler/ParameterInfo;
Exception table:
from to target type
2 8 8 any
MethodParameters:
Name Flags
parameter
javax.management.MBeanOperationInfo createOperationInfo();
descriptor: ()Ljavax/management/MBeanOperationInfo;
flags: (0x0000)
Code:
stack=8, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.modeler.OperationInfo.info:Ljavax/management/MBeanFeatureInfo;
ifnonnull 12
1: iconst_3
istore 1
start local 1 2: ldc "ACTION"
aload 0
invokevirtual org.apache.tomcat.util.modeler.OperationInfo.getImpact:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
istore 1
goto 8
4: StackMap locals: int
StackMap stack:
ldc "ACTION_INFO"
aload 0
invokevirtual org.apache.tomcat.util.modeler.OperationInfo.getImpact:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_2
istore 1
goto 8
6: StackMap locals:
StackMap stack:
ldc "INFO"
aload 0
invokevirtual org.apache.tomcat.util.modeler.OperationInfo.getImpact:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_0
istore 1
8: StackMap locals:
StackMap stack:
aload 0
new javax.management.MBeanOperationInfo
dup
aload 0
invokevirtual org.apache.tomcat.util.modeler.OperationInfo.getName:()Ljava/lang/String;
aload 0
invokevirtual org.apache.tomcat.util.modeler.OperationInfo.getDescription:()Ljava/lang/String;
9: aload 0
invokevirtual org.apache.tomcat.util.modeler.OperationInfo.getMBeanParameterInfo:()[Ljavax/management/MBeanParameterInfo;
10: aload 0
invokevirtual org.apache.tomcat.util.modeler.OperationInfo.getReturnType:()Ljava/lang/String;
iload 1
invokespecial javax.management.MBeanOperationInfo.<init>:(Ljava/lang/String;Ljava/lang/String;[Ljavax/management/MBeanParameterInfo;Ljava/lang/String;I)V
11: putfield org.apache.tomcat.util.modeler.OperationInfo.info:Ljavax/management/MBeanFeatureInfo;
end local 1 12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.modeler.OperationInfo.info:Ljavax/management/MBeanFeatureInfo;
checkcast javax.management.MBeanOperationInfo
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/tomcat/util/modeler/OperationInfo;
2 12 1 impact I
protected javax.management.MBeanParameterInfo[] getMBeanParameterInfo();
descriptor: ()[Ljavax/management/MBeanParameterInfo;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.modeler.OperationInfo.getSignature:()[Lorg/apache/tomcat/util/modeler/ParameterInfo;
astore 1
start local 1 1: aload 1
arraylength
anewarray javax.management.MBeanParameterInfo
2: astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: org.apache.tomcat.util.modeler.ParameterInfo[] javax.management.MBeanParameterInfo[] int
StackMap stack:
aload 2
iload 3
aload 1
iload 3
aaload
invokevirtual org.apache.tomcat.util.modeler.ParameterInfo.createParameterInfo:()Ljavax/management/MBeanParameterInfo;
aastore
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 1
arraylength
if_icmplt 5
end local 3 8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/tomcat/util/modeler/OperationInfo;
1 9 1 params [Lorg/apache/tomcat/util/modeler/ParameterInfo;
3 9 2 parameters [Ljavax/management/MBeanParameterInfo;
4 8 3 i I
}
SourceFile: "OperationInfo.java"