📄 expressionhelper.java
字号:
// You can redistribute this software and/or modify it under the terms of// the Infozone Software License version 2 published by the Infozone Group// (http://www.infozone-group.org).//// Copyright (C) @year@ by The Infozone Group. All rights reserved.//// $Id: ExpressionHelper.java,v 1.1 2002/05/10 08:59:12 per_nyfelt Exp $package org.infozone.tools.janalyzer;import koala.dynamicjava.tree.*;import java.util.List;import java.util.ListIterator;/** * This class is a part of the JavaCodeAnalyzer class. * It's out sourced to lower the pure mass of data in the analyzer class. * Are subclasses of expression, type, condition from package koala.dynamicjava.tree * handled here. * * <pre> * * TODO: * - more documentation * - metric'S * - method counting and so on * </pre> * * @version $Revision: 1.1 $ $Date: 2002/05/10 08:59:12 $ * @author <a href="http://www.softwarebuero.de">SMB</a> * @see org.infozone.tools.janalyzer.JavaCodeAnalyzer */public final class ExpressionHelper extends java.lang.Object { // // data // /** The output class */ private JavaCodeOutput jco; /** The Analyzer class for analyzing bugs */ private JavaCodeAnalyzer jca; /** The level to help correct parentheses to binary expressions */ private int currentBinaryExpressionLevel = 0; public ExpressionHelper( JavaCodeAnalyzer aAnalyzer, JavaCodeOutput aOutputClass ) { jca = aAnalyzer; // output class jco = aOutputClass; } /** * The representation of a Expression. * */ private void addExpressionString( Expression aExp ) { // printLog("addExpression"+aExp); // System.err.println("addExpression" + aExp); if (aExp == null) { return; } // ....
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -