Created
May 20, 2016 05:04
-
-
Save Maccimo/c881bb71f1e9d14853de3a0e8a5ab077 to your computer and use it in GitHub Desktop.
LocalVariableTypeTable in lambda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void lambda$method$0(); | |
descriptor: ()V | |
flags: ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC | |
Code: | |
stack=1, locals=1, args_size=0 | |
0: aconst_null | |
1: astore_0 | |
2: return | |
LocalVariableTable: | |
Start Length Slot Name Signature | |
2 1 0 list Ljava/util/List; | |
LocalVariableTypeTable: | |
Start Length Slot Name Signature | |
2 1 0 list Ljava/util/List<Ljava/lang/String;>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.List; | |
public class LambdaWithLVTT { | |
void method(){ | |
Runnable r = () -> { | |
List<String> list = null; | |
}; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment