< prev index next >

make/jdk/src/classes/build/tools/jdwpgen/ConstantSetNode.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 52,70 **** error("Expected 'Constant', got: " + node); } } void document(PrintWriter writer) { ! writer.println("<h2 id=\"" + context.whereC + "\">" + name + " Constants</h2>"); writer.println(comment()); writer.println("<table><tr>"); ! writer.println("<th class=\"bold\" style=\"width: 30%\" scope=\"col\">Name"); ! writer.println("<th class=\"centered bold\" style=\"width: 5%\" scope=\"col\">Value"); ! writer.println("<th class=\"bold\" style=\"width: 65%\" scope=\"col\">Description"); ! writer.println("</tr>"); for (Node node : components) { ! ConstantNode n = (ConstantNode)node; writer.println("<span id=\"" + name + "_" + n.name + "\"></span>"); n.document(writer); } writer.println("</table>"); } --- 52,69 ---- error("Expected 'Constant', got: " + node); } } void document(PrintWriter writer) { ! writer.println("<h4 id=\"" + context.whereC + "\">" + name + ! " Constants</h4>"); writer.println(comment()); writer.println("<table><tr>"); ! writer.println("<th style=\"width: 20%\"><th style=\"width: 5%\"><th style=\"width: 65%\">"); ! ConstantNode n; for (Node node : components) { ! n = (ConstantNode)node; writer.println("<span id=\"" + name + "_" + n.name + "\"></span>"); n.document(writer); } writer.println("</table>"); }
< prev index next >