final class sun.awt.motif.MDragSourceContextPeer extends sun.awt.dnd.SunDragSourceContextPeer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.awt.motif.MDragSourceContextPeer
super_class: sun.awt.dnd.SunDragSourceContextPeer
{
private static final sun.awt.motif.MDragSourceContextPeer theInstance;
descriptor: Lsun/awt/motif/MDragSourceContextPeer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new sun.awt.motif.MDragSourceContextPeer
dup
aconst_null
invokespecial sun.awt.motif.MDragSourceContextPeer.<init>:(Ljava/awt/dnd/DragGestureEvent;)V
1: putstatic sun.awt.motif.MDragSourceContextPeer.theInstance:Lsun/awt/motif/MDragSourceContextPeer;
2: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.awt.dnd.DragGestureEvent);
descriptor: (Ljava/awt/dnd/DragGestureEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.dnd.SunDragSourceContextPeer.<init>:(Ljava/awt/dnd/DragGestureEvent;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/motif/MDragSourceContextPeer;
0 2 1 dge Ljava/awt/dnd/DragGestureEvent;
MethodParameters:
Name Flags
dge
static sun.awt.motif.MDragSourceContextPeer createDragSourceContextPeer(java.awt.dnd.DragGestureEvent);
descriptor: (Ljava/awt/dnd/DragGestureEvent;)Lsun/awt/motif/MDragSourceContextPeer;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.awt.motif.MDragSourceContextPeer.theInstance:Lsun/awt/motif/MDragSourceContextPeer;
aload 0
invokevirtual sun.awt.motif.MDragSourceContextPeer.setTrigger:(Ljava/awt/dnd/DragGestureEvent;)V
1: getstatic sun.awt.motif.MDragSourceContextPeer.theInstance:Lsun/awt/motif/MDragSourceContextPeer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dge Ljava/awt/dnd/DragGestureEvent;
Exceptions:
throws java.awt.dnd.InvalidDnDOperationException
MethodParameters:
Name Flags
dge
protected void startDrag(java.awt.datatransfer.Transferable, long[], java.util.Map);
descriptor: (Ljava/awt/datatransfer/Transferable;[JLjava/util/Map;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
invokevirtual sun.awt.motif.MDragSourceContextPeer.getTrigger:()Ljava/awt/dnd/DragGestureEvent;
invokevirtual java.awt.dnd.DragGestureEvent.getComponent:()Ljava/awt/Component;
1: aload 1
2: aload 0
invokevirtual sun.awt.motif.MDragSourceContextPeer.getTrigger:()Ljava/awt/dnd/DragGestureEvent;
invokevirtual java.awt.dnd.DragGestureEvent.getTriggerEvent:()Ljava/awt/event/InputEvent;
3: aload 0
invokevirtual sun.awt.motif.MDragSourceContextPeer.getCursor:()Ljava/awt/Cursor;
4: aload 0
invokevirtual sun.awt.motif.MDragSourceContextPeer.getCursor:()Ljava/awt/Cursor;
ifnonnull 5
iconst_0
goto 6
StackMap locals: sun.awt.motif.MDragSourceContextPeer java.awt.datatransfer.Transferable long[] java.util.Map
StackMap stack: sun.awt.motif.MDragSourceContextPeer java.awt.Component java.awt.datatransfer.Transferable java.awt.event.InputEvent java.awt.Cursor
5: aload 0
invokevirtual sun.awt.motif.MDragSourceContextPeer.getCursor:()Ljava/awt/Cursor;
invokevirtual java.awt.Cursor.getType:()I
6: StackMap locals: sun.awt.motif.MDragSourceContextPeer java.awt.datatransfer.Transferable long[] java.util.Map
StackMap stack: sun.awt.motif.MDragSourceContextPeer java.awt.Component java.awt.datatransfer.Transferable java.awt.event.InputEvent java.awt.Cursor int
aload 0
invokevirtual sun.awt.motif.MDragSourceContextPeer.getDragSourceContext:()Ljava/awt/dnd/DragSourceContext;
invokevirtual java.awt.dnd.DragSourceContext.getSourceActions:()I
7: aload 2
8: aload 3
9: invokevirtual sun.awt.motif.MDragSourceContextPeer.startDrag:(Ljava/awt/Component;Ljava/awt/datatransfer/Transferable;Ljava/awt/event/InputEvent;Ljava/awt/Cursor;II[JLjava/util/Map;)J
lstore 4
start local 4 10: aload 0
lload 4
invokevirtual sun.awt.motif.MDragSourceContextPeer.setNativeContext:(J)V
end local 4 11: goto 14
StackMap locals:
StackMap stack: java.lang.Exception
12: astore 4
start local 4 13: new java.awt.dnd.InvalidDnDOperationException
dup
new java.lang.StringBuilder
dup
ldc "failed to create native peer: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.awt.dnd.InvalidDnDOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 4 14: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.motif.MDragSourceContextPeer.getNativeContext:()J
lconst_0
lcmp
ifne 16
15: new java.awt.dnd.InvalidDnDOperationException
dup
ldc "failed to create native peer"
invokespecial java.awt.dnd.InvalidDnDOperationException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.awt.motif.MDropTargetContextPeer.setCurrentJVMLocalSourceTransferable:(Ljava/awt/datatransfer/Transferable;)V
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/awt/motif/MDragSourceContextPeer;
0 18 1 transferable Ljava/awt/datatransfer/Transferable;
0 18 2 formats [J
0 18 3 formatMap Ljava/util/Map;
10 11 4 nativeCtxtLocal J
13 14 4 e Ljava/lang/Exception;
Exception table:
from to target type
0 11 12 Class java.lang.Exception
MethodParameters:
Name Flags
transferable
formats
formatMap
private native long startDrag(java.awt.Component, java.awt.datatransfer.Transferable, java.awt.event.InputEvent, java.awt.Cursor, int, int, long[], java.util.Map);
descriptor: (Ljava/awt/Component;Ljava/awt/datatransfer/Transferable;Ljava/awt/event/InputEvent;Ljava/awt/Cursor;II[JLjava/util/Map;)J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
component
transferable
nativeTrigger
c
ctype
actions
formats
formatMap
public void setCursor(java.awt.Cursor);
descriptor: (Ljava/awt/Cursor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic sun.awt.SunToolkit.awtLock:()V
1: aload 0
aload 1
invokespecial sun.awt.dnd.SunDragSourceContextPeer.setCursor:(Ljava/awt/Cursor;)V
2: invokestatic sun.awt.SunToolkit.awtUnlock:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/motif/MDragSourceContextPeer;
0 4 1 c Ljava/awt/Cursor;
Exceptions:
throws java.awt.dnd.InvalidDnDOperationException
MethodParameters:
Name Flags
c
protected native void setNativeCursor(long, java.awt.Cursor, int);
descriptor: (JLjava/awt/Cursor;I)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
nativeCtxt
c
cType
}
SourceFile: "MDragSourceContextPeer.java"