jdk

Форк
0
/
CondyIndy.jasm 
101 строка · 3.6 Кб
1
/*
2
 * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
 *
5
 * This code is free software; you can redistribute it and/or modify it
6
 * under the terms of the GNU General Public License version 2 only, as
7
 * published by the Free Software Foundation.
8
 *
9
 * This code is distributed in the hope that it will be useful, but WITHOUT
10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
 * version 2 for more details (a copy is included in the LICENSE file that
13
 * accompanied this code).
14
 *
15
 * You should have received a copy of the GNU General Public License version
16
 * 2 along with this work; if not, write to the Free Software Foundation,
17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18
 *
19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20
 * or visit www.oracle.com if you need additional information or have any
21
 * questions.
22
 */
23

24
super public class CondyIndy
25
	version 59:0
26
{
27

28
public static Field add1:"LCondyIndyMathOperation;";
29

30
public Method "<init>":"()V"
31
        stack 1 locals 1
32
{
33
                aload_0;
34
                invokespecial   Method java/lang/Object."<init>":"()V";
35
                return;
36
}
37

38
public static Method condy_bsm:"(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;"
39
	stack 2 locals 4
40
{
41
		getstatic	Field java/lang/System.out:"Ljava/io/PrintStream;";
42
		ldc	String "In condy_bsm";
43
		invokevirtual	Method java/io/PrintStream.println:"(Ljava/lang/String;)V";
44
		ldc	String "1";
45
		areturn;
46
}
47

48
public static Method operate:"(IILCondyIndyMathOperation;)I"
49
	stack 3 locals 3
50
{
51
		aload_2;
52
		iload_0;
53
		iload_1;
54
		invokeinterface	InterfaceMethod CondyIndyMathOperation.operation:"(II)I",  3;
55
		ireturn;
56
}
57

58
public static Method main:"([Ljava/lang/String;)V"
59
	stack 4 locals 2
60
{
61
		new	class CondyIndy;
62
		dup;
63
		invokespecial	Method "<init>":"()V";
64
		astore_1;
65
		getstatic	Field java/lang/System.out:"Ljava/io/PrintStream;";
66
		bipush	10;
67
		iconst_5;
68
		aload_1;
69
		pop;
70
		getstatic	Field add1:"LCondyIndyMathOperation;";
71
		invokestatic	Method operate:"(IILCondyIndyMathOperation;)I";
72
		invokevirtual	Method java/io/PrintStream.println:"(I)V";
73
                ldc             Dynamic REF_invokeStatic:CondyIndy.condy_bsm:"(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;":invoke:"Ljava/lang/Object;" {
74
                                  int 0
75
                };
76
		return;
77
}
78

79
private static synthetic Method lambda$static$0:"(II)I"
80
        stack 2 locals 2
81
{
82
                iload_0;
83
                iload_1;
84
                iadd;
85
                ireturn;
86
}
87

88
static Method "<clinit>":"()V"
89
        stack 1 locals 0
90
{
91
                invokedynamic   InvokeDynamic REF_invokeStatic:java/lang/invoke/LambdaMetafactory.metafactory:"(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;":operation:"()LCondyIndyMathOperation;"
92
                        MethodType "(II)I",
93
                        MethodHandle REF_invokeStatic:CondyIndy.lambda$static$0:"(II)I",
94
                        MethodType "(II)I";
95
                putstatic       Field add1:"LCondyIndyMathOperation;";
96
                return;
97
}
98

99
public static final InnerClass Lookup=class java/lang/invoke/MethodHandles$Lookup of class java/lang/invoke/MethodHandles;
100

101
} // end Class CondyIndy
102

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.