| java.lang.Object org.netbeans.modules.cnd.gotodeclaration.util.ContextUtil
ContextUtil | public class ContextUtil (Code) | | Utility class with methods that returns context information
author: Vladimir Kvashin |
getClassFullName | public static String getClassFullName(CsmClass cls)(Code) | | Returns the full name of the class:
for a top-level class it's just a class name,
for a nested class, it contain outer class name
(but in any case without a namespace)
|
getClassNamespace | public static CsmNamespace getClassNamespace(CsmClass cls)(Code) | | Returns the namespace the given class belongs
(even if it's a nested class)
|
getContextName | public static String getContextName(CsmScopeElement element)(Code) | | Return the name of the context of the scope element -
either namespace or (for file-level, such as C-style statics) file
(If the element is a nested class, return containing class' namespace)
|
|
|