src/share/classes/com/sun/tools/javap/StackMapWriter.java

changeset 1648
a03c4a86ea2b
parent 1339
0e5899f09dab
child 2525
2eb010b6cb22
equal deleted inserted replaced
1647:578eb3dd111d 1648:a03c4a86ea2b
1 /* 1 /*
2 * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 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 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
267 return new_pc; 267 return new_pc;
268 } 268 }
269 269
270 } 270 }
271 271
272 class StackMap { 272 static class StackMap {
273 StackMap(verification_type_info[] locals, verification_type_info[] stack) { 273 StackMap(verification_type_info[] locals, verification_type_info[] stack) {
274 this.locals = locals; 274 this.locals = locals;
275 this.stack = stack; 275 this.stack = stack;
276 } 276 }
277 277
278 private final verification_type_info[] locals; 278 private final verification_type_info[] locals;
279 private final verification_type_info[] stack; 279 private final verification_type_info[] stack;
280 } 280 }
281 281
282 class CustomVerificationTypeInfo extends verification_type_info { 282 static class CustomVerificationTypeInfo extends verification_type_info {
283 public CustomVerificationTypeInfo(String text) { 283 public CustomVerificationTypeInfo(String text) {
284 super(-1); 284 super(-1);
285 this.text = text; 285 this.text = text;
286 } 286 }
287 private String text; 287 private String text;

mercurial