org.netbeans.modules.cnd.api.model/1 1.3 1

org.netbeans.modules.cnd.api.model.util
Class CsmTracer

java.lang.Object
  
extended by org.netbeans.modules.cnd.api.model.util.CsmTracer
public class CsmTracer
extends Object

Misc. static methods used for tracing of code model objects


Constructor Summary
CsmTracer()
           
CsmTracer(boolean useStdErr)
           
CsmTracer(PrintStream printStream)
           
 
Method Summary
 void checkUniqueName(CsmDeclaration decl)
           
 void dumpDeclarationsCollection(Collection declarations)
           
 void dumpDeclarationsCollection(Collection declarations, String title)
           
 void dumpFilesCollection(Collection files)
           
 void dumpFilesCollection(Collection files, String title)
           
 void dumpModel(CsmClass cls)
           
 void dumpModel(CsmDeclaration decl)
           
 void dumpModel(CsmEnum enumeration)
           
 void dumpModel(CsmField field)
           
 void dumpModel(CsmFile file)
           
 void dumpModel(CsmFile file, String title)
           
 void dumpModel(CsmFunction fun)
           
 void dumpModel(CsmFunctionDefinition fun)
           
 void dumpModel(CsmNamespace nsp)
           
 void dumpModel(CsmNamespaceAlias alias)
           
 void dumpModel(CsmNamespaceDefinition nsp)
           
 void dumpModel(CsmProject project)
           
 void dumpModel(CsmTypedef td)
           
 void dumpModel(CsmUsingDeclaration ud)
           
 void dumpModel(CsmUsingDirective ud)
           
 void dumpModel(CsmVariable var)
           
 void dumpModel(CsmVariableDefinition var)
           
 void dumpModelChangeEvent(CsmChangeEvent e)
           
 void dumpNamespaceDefinitions(CsmNamespace nsp)
           
 void dumpNamespacesCollection(Collection namespaces)
           
 void dumpNamespacesCollection(Collection namespaces, String title)
           
 void dumpParameters(List parameters)
           
 void dumpStatement(CsmCaseStatement stmt)
           
 void dumpStatement(CsmCompoundStatement stmt)
           
 void dumpStatement(CsmDeclarationStatement stmt)
           
 void dumpStatement(CsmExceptionHandler stmt)
           
 void dumpStatement(CsmForStatement stmt)
           
 void dumpStatement(CsmIfStatement stmt)
           
 void dumpStatement(CsmLoopStatement stmt)
           
 void dumpStatement(CsmStatement stmt)
           
 void dumpStatement(CsmSwitchStatement stmt)
           
 void dumpStatement(CsmTryCatchStatement stmt)
           
 String getBriefClassName(Class cls)
           
 String getBriefClassName(Object o)
           
static String getOffsetString(CsmObject obj, boolean traceFile)
           
static String getScopeString(CsmScopeElement el)
           
protected  PrintStream getStream()
           
 void indent()
           
protected  boolean needsCheckUniqueName(CsmDeclaration decl)
           
 void print(String s)
           
 void print(String s, boolean newline)
           
 void setDeep(boolean deep)
           
 void setPrintStream(PrintStream printStream)
           
 void setTestUniqueName(boolean value)
           
static String toString(CsmClassifier cls)
           
static String toString(CsmCondition condition)
           
static String toString(CsmDeclaration decl)
           
static String toString(CsmExpression expr, boolean traceKind)
           
static String toString(CsmFile file)
           
static String toString(CsmFunction fun)
           
static String toString(CsmInclude incl)
           
static String toString(CsmInheritance inh)
           
static String toString(CsmMacro macro)
           
static String toString(CsmNamespace nsp)
           
static String toString(CsmObject obj)
           
static String toString(CsmStatement stmt)
           
static String toString(CsmVariable var)
           
 void unindent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsmTracer

public CsmTracer()

CsmTracer

public CsmTracer(boolean useStdErr)

CsmTracer

public CsmTracer(PrintStream printStream)
Method Detail

setPrintStream

public void setPrintStream(PrintStream printStream)

setDeep

public void setDeep(boolean deep)

setTestUniqueName

public void setTestUniqueName(boolean value)

indent

public void indent()

unindent

public void unindent()

print

public void print(String s)

getStream

protected PrintStream getStream()

print

public void print(String s,
                  boolean newline)

toString

public static String toString(CsmObject obj)

toString

public static String toString(CsmNamespace nsp)

toString

public static String toString(CsmMacro macro)

toString

public static String toString(CsmInclude incl)

toString

public static String toString(CsmStatement stmt)

toString

public static String toString(CsmExpression expr,
                              boolean traceKind)

toString

public static String toString(CsmInheritance inh)

toString

public static String toString(CsmCondition condition)

toString

public static String toString(CsmDeclaration decl)

toString

public static String toString(CsmClassifier cls)

toString

public static String toString(CsmFile file)

toString

public static String toString(CsmVariable var)

toString

public static String toString(CsmFunction fun)

dumpModel

public void dumpModel(CsmFunction fun)

dumpModel

public void dumpModel(CsmFunctionDefinition fun)

getScopeString

public static String getScopeString(CsmScopeElement el)

getOffsetString

public static String getOffsetString(CsmObject obj,
                                     boolean traceFile)

getBriefClassName

public String getBriefClassName(Object o)

getBriefClassName

public String getBriefClassName(Class cls)

dumpParameters

public void dumpParameters(List parameters)

dumpStatement

public void dumpStatement(CsmStatement stmt)

dumpStatement

public void dumpStatement(CsmCompoundStatement stmt)

dumpStatement

public void dumpStatement(CsmTryCatchStatement stmt)

dumpStatement

public void dumpStatement(CsmExceptionHandler stmt)

dumpStatement

public void dumpStatement(CsmIfStatement stmt)

dumpStatement

public void dumpStatement(CsmDeclarationStatement stmt)

dumpStatement

public void dumpStatement(CsmLoopStatement stmt)

dumpStatement

public void dumpStatement(CsmForStatement stmt)

dumpStatement

public void dumpStatement(CsmSwitchStatement stmt)

dumpStatement

public void dumpStatement(CsmCaseStatement stmt)

dumpNamespaceDefinitions

public void dumpNamespaceDefinitions(CsmNamespace nsp)

dumpModel

public void dumpModel(CsmProject project)

dumpModel

public void dumpModel(CsmNamespace nsp)

dumpModel

public void dumpModel(CsmFile file)

dumpModel

public void dumpModel(CsmFile file,
                      String title)

dumpModel

public void dumpModel(CsmVariable var)

dumpModel

public void dumpModel(CsmVariableDefinition var)

dumpModel

public void dumpModel(CsmField field)

checkUniqueName

public void checkUniqueName(CsmDeclaration decl)

needsCheckUniqueName

protected boolean needsCheckUniqueName(CsmDeclaration decl)

dumpModel

public void dumpModel(CsmDeclaration decl)

dumpModel

public void dumpModel(CsmNamespaceAlias alias)

dumpModel

public void dumpModel(CsmUsingDeclaration ud)

dumpModel

public void dumpModel(CsmTypedef td)

dumpModel

public void dumpModel(CsmUsingDirective ud)

dumpModel

public void dumpModel(CsmClass cls)

dumpModel

public void dumpModel(CsmEnum enumeration)

dumpModel

public void dumpModel(CsmNamespaceDefinition nsp)

dumpModelChangeEvent

public void dumpModelChangeEvent(CsmChangeEvent e)

dumpFilesCollection

public void dumpFilesCollection(Collection files,
                                String title)

dumpFilesCollection

public void dumpFilesCollection(Collection files)

dumpDeclarationsCollection

public void dumpDeclarationsCollection(Collection declarations,
                                       String title)

dumpDeclarationsCollection

public void dumpDeclarationsCollection(Collection declarations)

dumpNamespacesCollection

public void dumpNamespacesCollection(Collection namespaces,
                                     String title)

dumpNamespacesCollection

public void dumpNamespacesCollection(Collection namespaces)

org.netbeans.modules.cnd.api.model/1 1.3 1

Built on November 23 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 193 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close