src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ResultTreeType.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * reserved comment block |
2 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT REMOVE OR ALTER! |
3 * @LastModified: Oct 2017 |
4 */ |
4 */ |
5 /* |
5 /* |
6 * Licensed to the Apache Software Foundation (ASF) under one or more |
6 * Licensed to the Apache Software Foundation (ASF) under one or more |
7 * contributor license agreements. See the NOTICE file distributed with |
7 * contributor license agreements. See the NOTICE file distributed with |
8 * this work for additional information regarding copyright ownership. |
8 * this work for additional information regarding copyright ownership. |
396 * @param methodGen A BCEL method generator |
396 * @param methodGen A BCEL method generator |
397 * @param clazz An reference to the Class to translate to |
397 * @param clazz An reference to the Class to translate to |
398 * @see com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type#translateTo |
398 * @see com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type#translateTo |
399 */ |
399 */ |
400 public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, |
400 public void translateTo(ClassGenerator classGen, MethodGenerator methodGen, |
401 Class clazz) { |
401 Class<?> clazz) { |
402 final String className = clazz.getName(); |
402 final String className = clazz.getName(); |
403 final ConstantPoolGen cpg = classGen.getConstantPool(); |
403 final ConstantPoolGen cpg = classGen.getConstantPool(); |
404 final InstructionList il = methodGen.getInstructionList(); |
404 final InstructionList il = methodGen.getInstructionList(); |
405 |
405 |
406 if (className.equals("org.w3c.dom.Node")) { |
406 if (className.equals("org.w3c.dom.Node")) { |