Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Expression;
- public class LexicalLiterals
- {
- class QualifiedThisTestClass
- {
- class SubClass2
- {
- LexicalLiterals QualifiedThis2()
- {
- // method Expressions/LexicalLiterals$QualifiedThisTestClass$SubClass2.QualifiedThis2 ()LExpressions/LexicalLiterals;:
- // block 0:
- // in: []
- // code:
- // - aload_0
- // - getfield Expressions/LexicalLiterals$QualifiedThisTestClass$SubClass2.this$1 LExpressions/LexicalLiterals$QualifiedThisTestClass;
- // - invokestatic Expressions/LexicalLiterals$QualifiedThisTestClass.access$0 (LExpressions/LexicalLiterals$QualifiedThisTestClass;)LExpressions/LexicalLiterals;
- // - areturn
- // out: []
- return LexicalLiterals.this;
- }
- QualifiedThisTestClass QualifiedThis3()
- {
- // method Expressions/LexicalLiterals$QualifiedThisTestClass$SubClass2.QualifiedThis3 ()LExpressions/LexicalLiterals$QualifiedThisTestClass;:
- // block 0:
- // in: []
- // code:
- // - aload_0
- // - getfield Expressions/LexicalLiterals$QualifiedThisTestClass$SubClass2.this$1 LExpressions/LexicalLiterals$QualifiedThisTestClass;
- // - areturn
- // out: []
- return QualifiedThisTestClass.this;
- }
- SubClass2 ThisTest2()
- {
- // method Expressions/LexicalLiterals$QualifiedThisTestClass$SubClass2.ThisTest2 ()LExpressions/LexicalLiterals$QualifiedThisTestClass$SubClass2;:
- // block 0:
- // in: []
- // code:
- // - aload_0
- // - areturn
- // out: []
- return this;
- }
- }
- LexicalLiterals QualifiedThis()
- {
- // method Expressions/LexicalLiterals$QualifiedThisTestClass.QualifiedThis ()LExpressions/LexicalLiterals;:
- // block 0:
- // in: []
- // code:
- // - aload_0
- // - getfield Expressions/LexicalLiterals$QualifiedThisTestClass.this$0 LExpressions/LexicalLiterals;
- // - areturn
- // out: []
- return LexicalLiterals.this;
- }
- }
- public int IntegerLiteral1()
- {
- // method Expressions/LexicalLiterals.IntegerLiteral1 ()I:
- // block 0:
- // in: []
- // code:
- // - sipush 30,39
- // - ireturn
- // out: []
- return 12345;
- }
- public long IntegerLiteral2()
- {
- // method Expressions/LexicalLiterals.IntegerLiteral2 ()J:
- // block 0:
- // in: []
- // code:
- // - ldc2_w -123456789012345
- // - lreturn
- // out: []
- return -123456789012345L;
- }
- public float FloatingLiteral1()
- {
- // method Expressions/LexicalLiterals.FloatingLiteral1 ()F:
- // block 0:
- // in: []
- // code:
- // - ldc 34.43
- // - freturn
- // out: []
- return 34.43F;
- }
- public double FloatingLiteral2()
- {
- // method Expressions/LexicalLiterals.FloatingLiteral2 ()D:
- // block 0:
- // in: []
- // code:
- // - ldc2_w -5.938218239E-112
- // - dreturn
- // out: []
- return -5.938218239E-112;
- }
- public char CharacterLiteral()
- {
- // method Expressions/LexicalLiterals.CharacterLiteral ()C:
- // block 0:
- // in: []
- // code:
- // - sipush 0,E5
- // - ireturn
- // out: []
- return 'å';
- }
- public String StringLiteral()
- {
- // method Expressions/LexicalLiterals.StringLiteral ()Ljava/lang/String;:
- // block 0:
- // in: []
- // code:
- // - ldc I am the very model of a modern major general.
- // - areturn
- // out: []
- return "\tI am the very model of a modern major general.";
- }
- public boolean BoolLiteral()
- {
- // method Expressions/LexicalLiterals.BoolLiteral ()Z:
- // block 0:
- // in: []
- // code:
- // - iconst_1
- // - ireturn
- // out: []
- return true;
- }
- public Object NullLiteral()
- {
- // method Expressions/LexicalLiterals.NullLiteral ()Ljava/lang/Object;:
- // block 0:
- // in: []
- // code:
- // - aconst_null
- // - areturn
- // out: []
- return null;
- }
- public Class<Integer> ClassLiteral()
- {
- // method Expressions/LexicalLiterals.ClassLiteral ()Ljava/lang/Class;:
- // block 0:
- // in: []
- // code:
- // - ldc java/lang/Integer
- // - areturn
- // out: []
- return Integer.class;
- }
- public Class<Void> ClassVoidLiteral()
- {
- // method Expressions/LexicalLiterals.ClassVoidLiteral ()Ljava/lang/Class;:
- // block 0:
- // in: []
- // code:
- // - ldc java/lang/Void
- // - areturn
- // out: []
- return void.class;
- }
- public LexicalLiterals This()
- {
- // method Expressions/LexicalLiterals.This ()LExpressions/LexicalLiterals;:
- // block 0:
- // in: []
- // code:
- // - aload_0
- // - areturn
- // out: []
- return this;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement