public class org.apache.catalina.util.Introspection
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.util.Introspection
super_class: java.lang.Object
{
private static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "org.apache.catalina.util"
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
1: putstatic org.apache.catalina.util.Introspection.sm:Lorg/apache/tomcat/util/res/StringManager;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/util/Introspection;
public static java.lang.String getPropertyName(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
iconst_3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.beans.Introspector.decapitalize:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 setter Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
setter
public static boolean isValidSetter(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
ldc "set"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
1: aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_3
if_icmple 5
2: aload 0
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
arraylength
iconst_1
if_icmpne 5
3: aload 0
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
ldc "void"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 method Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
method
public static boolean isValidLifecycleCallback(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
arraylength
ifne 4
1: aload 0
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifne 4
2: aload 0
invokevirtual java.lang.reflect.Method.getExceptionTypes:()[Ljava/lang/Class;
arraylength
ifgt 4
3: aload 0
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
ldc "void"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 method Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
method
public static java.lang.reflect.Field[] getDeclaredFields(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)[Ljava/lang/reflect/Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
ifeq 5
2: new org.apache.catalina.util.Introspection$1
dup
aload 0
invokespecial org.apache.catalina.util.Introspection$1.<init>:(Ljava/lang/Class;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Field[]
astore 1
4: goto 6
5: StackMap locals: java.lang.reflect.Field[]
StackMap stack:
aload 0
invokevirtual java.lang.Class.getDeclaredFields:()[Ljava/lang/reflect/Field;
astore 1
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 clazz Ljava/lang/Class<*>;
1 7 1 fields [Ljava/lang/reflect/Field;
Signature: (Ljava/lang/Class<*>;)[Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
clazz final
public static java.lang.reflect.Method[] getDeclaredMethods(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)[Ljava/lang/reflect/Method;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
ifeq 5
2: new org.apache.catalina.util.Introspection$2
dup
aload 0
invokespecial org.apache.catalina.util.Introspection$2.<init>:(Ljava/lang/Class;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.reflect.Method[]
astore 1
4: goto 6
5: StackMap locals: java.lang.reflect.Method[]
StackMap stack:
aload 0
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
astore 1
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 clazz Ljava/lang/Class<*>;
1 7 1 methods [Ljava/lang/reflect/Method;
Signature: (Ljava/lang/Class<*>;)[Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
clazz final
public static java.lang.Class<?> loadClass(org.apache.catalina.Context, java.lang.String);
descriptor: (Lorg/apache/catalina/Context;Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.apache.catalina.Context.getLoader:()Lorg/apache/catalina/Loader;
invokeinterface org.apache.catalina.Loader.getClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 1: aload 0
invokeinterface org.apache.catalina.Context.getLogger:()Lorg/apache/juli/logging/Log;
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aload 2
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
4: goto 11
StackMap locals: org.apache.catalina.Context java.lang.String java.lang.ClassLoader org.apache.juli.logging.Log java.lang.Class
StackMap stack: java.lang.Throwable
5: astore 5
start local 5 6: aload 3
getstatic org.apache.catalina.util.Introspection.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "introspection.classLoadFailed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 5
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 5 7: goto 11
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 9: aload 5
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
10: aload 3
getstatic org.apache.catalina.util.Introspection.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "introspection.classLoadFailed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 5
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 5 11: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 context Lorg/apache/catalina/Context;
0 12 1 className Ljava/lang/String;
1 12 2 cl Ljava/lang/ClassLoader;
2 12 3 log Lorg/apache/juli/logging/Log;
3 12 4 clazz Ljava/lang/Class<*>;
6 7 5 e Ljava/lang/Throwable;
9 11 5 t Ljava/lang/Throwable;
Exception table:
from to target type
3 4 5 Class java.lang.ClassNotFoundException
3 4 5 Class java.lang.NoClassDefFoundError
3 4 5 Class java.lang.ClassFormatError
3 4 8 Class java.lang.Throwable
Signature: (Lorg/apache/catalina/Context;Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
context
className
public static java.lang.Class<?> convertPrimitiveType(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 2
1: ldc Ljava/lang/Character;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
3: ldc Ljava/lang/Integer;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
5: ldc Ljava/lang/Boolean;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 8
7: ldc Ljava/lang/Double;
areturn
8: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 10
9: ldc Ljava/lang/Byte;
areturn
10: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 12
11: ldc Ljava/lang/Short;
areturn
12: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 14
13: ldc Ljava/lang/Long;
areturn
14: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 16
15: ldc Ljava/lang/Float;
areturn
16: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
clazz
}
SourceFile: "Introspection.java"
NestMembers:
org.apache.catalina.util.Introspection$1 org.apache.catalina.util.Introspection$2
InnerClasses:
org.apache.catalina.util.Introspection$1
org.apache.catalina.util.Introspection$2