public class javax.swing.text.html.ObjectView extends javax.swing.text.ComponentView
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.html.ObjectView
super_class: javax.swing.text.ComponentView
{
public void <init>(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.text.ComponentView.<init>:(Ljavax/swing/text/Element;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/html/ObjectView;
0 2 1 elem Ljavax/swing/text/Element;
MethodParameters:
Name Flags
elem
protected java.awt.Component createComponent();
descriptor: ()Ljava/awt/Component;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.html.ObjectView.getElement:()Ljavax/swing/text/Element;
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 1
start local 1 1: aload 1
getstatic javax.swing.text.html.HTML$Attribute.CLASSID:Ljavax/swing/text/html/HTML$Attribute;
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 2
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/String;)V
3: aload 2
iconst_1
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
4: invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
5: invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 3
start local 3 6: aload 3
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
astore 4
start local 4 7: aload 4
instanceof java.awt.Component
ifeq 13
8: aload 4
checkcast java.awt.Component
astore 5
start local 5 9: aload 0
aload 5
aload 1
invokevirtual javax.swing.text.html.ObjectView.setParameters:(Ljava/awt/Component;Ljavax/swing/text/AttributeSet;)V
10: aload 5
11: areturn
end local 5 end local 4 end local 3 12: StackMap locals: javax.swing.text.html.ObjectView javax.swing.text.AttributeSet java.lang.String
StackMap stack: java.lang.Throwable
pop
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.html.ObjectView.getUnloadableRepresentation:()Ljava/awt/Component;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/text/html/ObjectView;
1 14 1 attr Ljavax/swing/text/AttributeSet;
2 14 2 classname Ljava/lang/String;
6 12 3 c Ljava/lang/Class<*>;
7 12 4 o Ljava/lang/Object;
9 12 5 comp Ljava/awt/Component;
Exception table:
from to target type
2 11 12 Class java.lang.Throwable
java.awt.Component getUnloadableRepresentation();
descriptor: ()Ljava/awt/Component;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: new javax.swing.JLabel
dup
ldc "??"
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
getstatic java.awt.Color.red:Ljava/awt/Color;
invokevirtual java.awt.Component.setForeground:(Ljava/awt/Color;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/html/ObjectView;
1 3 1 comp Ljava/awt/Component;
private void setParameters(java.awt.Component, javax.swing.text.AttributeSet);
descriptor: (Ljava/awt/Component;Ljavax/swing/text/AttributeSet;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 3
start local 3 1: aload 3
invokestatic java.beans.Introspector.getBeanInfo:(Ljava/lang/Class;)Ljava/beans/BeanInfo;
astore 4
start local 4 2: goto 6
end local 4 StackMap locals: javax.swing.text.html.ObjectView java.awt.Component javax.swing.text.AttributeSet java.lang.Class
StackMap stack: java.beans.IntrospectionException
3: astore 5
start local 5 4: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "introspector failed, ex: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: return
end local 5 start local 4 6: StackMap locals: java.beans.BeanInfo
StackMap stack:
aload 4
invokeinterface java.beans.BeanInfo.getPropertyDescriptors:()[Ljava/beans/PropertyDescriptor;
astore 5
start local 5 7: iconst_0
istore 6
start local 6 8: goto 24
9: StackMap locals: java.beans.PropertyDescriptor[] int
StackMap stack:
aload 2
aload 5
iload 6
aaload
invokevirtual java.beans.PropertyDescriptor.getName:()Ljava/lang/String;
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 10: aload 7
instanceof java.lang.String
ifeq 23
11: aload 7
checkcast java.lang.String
astore 8
start local 8 12: aload 5
iload 6
aaload
invokevirtual java.beans.PropertyDescriptor.getWriteMethod:()Ljava/lang/reflect/Method;
astore 9
start local 9 13: aload 9
ifnonnull 15
14: return
15: StackMap locals: java.lang.Object java.lang.String java.lang.reflect.Method
StackMap stack:
aload 9
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
astore 10
start local 10 16: aload 10
arraylength
iconst_1
if_icmpeq 18
17: return
18: StackMap locals: java.lang.Class[]
StackMap stack:
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 8
aastore
astore 11
start local 11 19: aload 9
aload 1
aload 11
invokestatic sun.reflect.misc.MethodUtil.invoke:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
20: goto 23
StackMap locals: javax.swing.text.html.ObjectView java.awt.Component javax.swing.text.AttributeSet java.lang.Class java.beans.BeanInfo java.beans.PropertyDescriptor[] int java.lang.Object java.lang.String java.lang.reflect.Method java.lang.Class[] java.lang.Object[]
StackMap stack: java.lang.Exception
21: pop
22: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Invocation failed"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 11 end local 10 end local 9 end local 8 end local 7 23: StackMap locals: javax.swing.text.html.ObjectView java.awt.Component javax.swing.text.AttributeSet java.lang.Class java.beans.BeanInfo java.beans.PropertyDescriptor[] int
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
24: iload 6
aload 5
arraylength
if_icmplt 9
end local 6 25: return
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 26 0 this Ljavax/swing/text/html/ObjectView;
0 26 1 comp Ljava/awt/Component;
0 26 2 attr Ljavax/swing/text/AttributeSet;
1 26 3 k Ljava/lang/Class<*>;
2 3 4 bi Ljava/beans/BeanInfo;
6 26 4 bi Ljava/beans/BeanInfo;
4 6 5 ex Ljava/beans/IntrospectionException;
7 26 5 props [Ljava/beans/PropertyDescriptor;
8 25 6 i I
10 23 7 v Ljava/lang/Object;
12 23 8 value Ljava/lang/String;
13 23 9 writer Ljava/lang/reflect/Method;
16 23 10 params [Ljava/lang/Class;
19 23 11 args [Ljava/lang/Object;
Exception table:
from to target type
1 2 3 Class java.beans.IntrospectionException
19 20 21 Class java.lang.Exception
MethodParameters:
Name Flags
comp
attr
}
SourceFile: "ObjectView.java"
InnerClasses:
public final Attribute = javax.swing.text.html.HTML$Attribute of javax.swing.text.html.HTML