0N/A * The contents of this file are subject to the terms of the 407N/A * Common Development and Distribution License (the "License"). 0N/A * You may not use this file except in compliance with the License. 0N/A * language governing permissions and limitations under the License. 0N/A * When distributing Covered Code, include this CDDL HEADER in each 0N/A * If applicable, add the following below this CDDL HEADER, with the 0N/A * fields enclosed by brackets "[]" replaced with your own identifying 0N/A * information: Portions Copyright [yyyy] [name of copyright owner] 1380N/A * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. 0N/A * Ananlyzes Java Class files 0N/A * Created on September 23, 2005 929N/A * @author Lubos Kosco , January 2010 , updated bcel, comment on thread safety 527N/A /** Creates a new instance of JavaClassAnalyzer 527N/A * @param factory The factory that creates JavaClassAnalyzers 1470N/A * Gt the generated cross file content. 1470N/A * @return {@code null} as long as no analyze has been run, the result of 1470N/A * the analayzing phase otherwise. 1470N/A * Get a HTML anchor for the given path. 1470N/A * @param path path in question. 1470N/A * @return a string like <a href="$prefix?path=$path">$path</a> 1470N/A * Get a HTML anchor for the given symbol. 1470N/A * @param def symbol in question. 1470N/A * @return a string like <a href="$prefix?defs=$def">$def</a> 1470N/A * Get a HTML anchor for the given symbol. 1470N/A * @param def symbol in question. 1470N/A * @return a string like <a class="d" name="$def" 1470N/A * href="$prefix?defs=$def">$def</a> 1470N/A // TODO this class needs to be thread safe to avoid bug 13364, which was 1470N/A // fixed by just updating bcel to 5.2 527N/A // @TODO show Attributes 0N/A * Write a cross referenced HTML file. 0N/A * @param out Writer to write HTML cross-reference 1470N/A * Convert a BCEL constant to a proper string. 1470N/A * @param c constant to convert. 1470N/A * @return the converted string 1470N/A * @throws ClassFormatException 0N/A //str = constantToString(cp.getConstant(i)) +' ' + sig; 0N/A default:
// Never reached