class com.sun.tools.javac.comp.Lower$1TryFinder extends com.sun.tools.javac.tree.TreeScanner
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.javac.comp.Lower$1TryFinder
super_class: com.sun.tools.javac.tree.TreeScanner
{
int closeCount;
descriptor: I
flags: (0x0000)
final com.sun.tools.javac.comp.Lower this$0;
descriptor: Lcom/sun/tools/javac/comp/Lower;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.tools.javac.comp.Lower);
descriptor: (Lcom/sun/tools/javac/comp/Lower;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // com.sun.tools.javac.comp.Lower$1TryFinder this
0: .line 1692
aload 0 /* this */
aload 1
putfield com.sun.tools.javac.comp.Lower$1TryFinder.this$0:Lcom/sun/tools/javac/comp/Lower;
aload 0 /* this */
invokespecial com.sun.tools.javac.tree.TreeScanner.<init>:()V
return
end local 0 // com.sun.tools.javac.comp.Lower$1TryFinder this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/comp/Lower$1TryFinder;
MethodParameters:
Name Flags
this$0 final
public void visitTry(com.sun.tools.javac.tree.JCTree$JCTry);
descriptor: (Lcom/sun/tools/javac/tree/JCTree$JCTry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 // com.sun.tools.javac.comp.Lower$1TryFinder this
start local 1 // com.sun.tools.javac.tree.JCTree$JCTry tree
0: .line 1696
aload 1 /* tree */
getfield com.sun.tools.javac.tree.JCTree$JCTry.body:Lcom/sun/tools/javac/tree/JCTree$JCBlock;
getfield com.sun.tools.javac.tree.JCTree$JCBlock.stats:Lcom/sun/tools/javac/util/List;
invokevirtual com.sun.tools.javac.util.List.isEmpty:()Z
istore 2 /* empty */
start local 2 // boolean empty
1: .line 1698
aload 1 /* tree */
getfield com.sun.tools.javac.tree.JCTree$JCTry.resources:Lcom/sun/tools/javac/util/List;
invokevirtual com.sun.tools.javac.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: int java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.javac.tree.JCTree
pop
3: .line 1699
aload 0 /* this */
dup
getfield com.sun.tools.javac.comp.Lower$1TryFinder.closeCount:I
iload 2 /* empty */
ifeq 4
iconst_1
goto 5
StackMap locals: com.sun.tools.javac.comp.Lower$1TryFinder com.sun.tools.javac.tree.JCTree$JCTry int java.util.Iterator
StackMap stack: com.sun.tools.javac.comp.Lower$1TryFinder int
4: iconst_2
StackMap locals: com.sun.tools.javac.comp.Lower$1TryFinder com.sun.tools.javac.tree.JCTree$JCTry int java.util.Iterator
StackMap stack: com.sun.tools.javac.comp.Lower$1TryFinder int int
5: iadd
putfield com.sun.tools.javac.comp.Lower$1TryFinder.closeCount:I
6: .line 1700
iconst_0
istore 2 /* empty */
7: .line 1698
StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: .line 1702
aload 0 /* this */
aload 1 /* tree */
invokespecial com.sun.tools.javac.tree.TreeScanner.visitTry:(Lcom/sun/tools/javac/tree/JCTree$JCTry;)V
9: .line 1703
return
end local 2 // boolean empty
end local 1 // com.sun.tools.javac.tree.JCTree$JCTry tree
end local 0 // com.sun.tools.javac.comp.Lower$1TryFinder this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/javac/comp/Lower$1TryFinder;
0 10 1 tree Lcom/sun/tools/javac/tree/JCTree$JCTry;
1 10 2 empty Z
MethodParameters:
Name Flags
tree
public void scan(com.sun.tools.javac.tree.JCTree);
descriptor: (Lcom/sun/tools/javac/tree/JCTree;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // com.sun.tools.javac.comp.Lower$1TryFinder this
start local 1 // com.sun.tools.javac.tree.JCTree tree
0: .line 1706
aload 0 /* this */
invokevirtual com.sun.tools.javac.comp.Lower$1TryFinder.useCloseResourceMethod:()Z
ifeq 2
1: .line 1707
return
2: .line 1708
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* tree */
invokespecial com.sun.tools.javac.tree.TreeScanner.scan:(Lcom/sun/tools/javac/tree/JCTree;)V
3: .line 1709
return
end local 1 // com.sun.tools.javac.tree.JCTree tree
end local 0 // com.sun.tools.javac.comp.Lower$1TryFinder this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/comp/Lower$1TryFinder;
0 4 1 tree Lcom/sun/tools/javac/tree/JCTree;
MethodParameters:
Name Flags
tree
boolean useCloseResourceMethod();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 // com.sun.tools.javac.comp.Lower$1TryFinder this
0: .line 1711
aload 0 /* this */
getfield com.sun.tools.javac.comp.Lower$1TryFinder.closeCount:I
iconst_4
if_icmplt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 // com.sun.tools.javac.comp.Lower$1TryFinder this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/comp/Lower$1TryFinder;
}
SourceFile: "Lower.java"
EnclosingMethod: com.sun.tools.javac.comp.Lower.shouldUseCloseResourceMethod:()Z
NestHost: com.sun.tools.javac.comp.Lower
InnerClasses:
TryFinder = com.sun.tools.javac.comp.Lower$1TryFinder
public JCBlock = com.sun.tools.javac.tree.JCTree$JCBlock of com.sun.tools.javac.tree.JCTree
public JCTry = com.sun.tools.javac.tree.JCTree$JCTry of com.sun.tools.javac.tree.JCTree