Questions tagged [fully-qualified-naming]
75 questions
2
votes
2 answers
Name lookup: downsides to using unqualified class name inside a class definition / omitting template parameters?
In a recent discussion, the matter came up as to whether or not we should always fully qualify the current class' name in the class definition, and also use explicitly specialized templates when referring to the current template itself. To sum it…

syam
- 14,701
- 3
- 41
- 65
2
votes
0 answers
Why do Python doctests require isinstance to use matching qualified/unqualified naming?
Possible Duplicate:
Importing modules: __main__ vs import as module
I am aware that in most cases isinstance is not needed or should be avoided (e.g., Is this use of isinstance pythonic/"good"?). However, sometimes it is what I need.
In both…

flexatone
- 149
- 1
- 6
2
votes
1 answer
Dealing With Duplicate Fully Qualified Names
Like the title says, is there a way to deal with this? I have imported two separate third party libraries and they have a fully qualified class name conflict.
Right now both libraries are being imported in jar form, and it appears that in some…

Alex N.
- 654
- 8
- 21
1
vote
1 answer
Qualified names for Julia's `Base` functions/types
Some C++ developers strongly suggest to never use using namespace std, as they prefer to explicitly include the namespace of every function in their code. Reasons for this include clarity when reading code as well as preventing shadowing definitions…

JustLearning
- 1,435
- 1
- 1
- 9
1
vote
1 answer
How can I qualify or hold to a higher precedence a method not provided by a trait?
I have an Add implementation that looks like this,
impl> Add for Sequence {
type Output = Self;
fn add(self, rhs: T) -> Self::Output {
let mut o = self.clone();
o.myadd(rhs.into()).unwrap();
o
}
}
The function…

Evan Carroll
- 78,363
- 46
- 261
- 468
1
vote
0 answers
How to debug "error ASPCONFIG: The path is too long after being fully qualified. "?
I've got a project that contains a script that runs as part of the build process. In this script there is an AspNetCompiler task that doesn't cause any issues when I run the script locally. The task looks something like this:

A_H-E
- 11
- 1
1
vote
1 answer
Simplest way to get fully qualified name of a module
How can one get the fully qualified name of a module in Python, at the module level?
For example, let's say this is the file structure:
foo
├── setup.py
└── bar
└── baz
└── spam.py
From within the spam.py file at the module level, how…

Intrastellar Explorer
- 3,005
- 9
- 52
- 119
1
vote
1 answer
How to prefer fully qualified "using name" at nested scope in .editorconfig for CSharp editor
I want my Visual Studio #CS editor to prefer using fully qualified naming at using statements.
So i prefer:
using myproject.management.control.common;
rather than
using control.common;
There is such an option in Resharper "Prefer fully qualified…

Samer Aamar
- 1,298
- 1
- 15
- 23
1
vote
0 answers
Advanced reference resolution in xtext, how do I customize the scoping/index correctly?
I try to show a minimal working example that describes my problem:
Grammar
This is the xtext grammar I created for this example. (The real grammar of course is much more complex and also involves an advanced expression-language)
grammar…

Jan
- 2,025
- 17
- 27
1
vote
1 answer
Can IntelliJ show me the fully-qualified name of the parameter in a lambda?
In code with a lambda, such as this event listener in a Vaadin web app:
someWidget.addValueChangeListener(
event -> {
…
}
);
…I want to know the exact type, the fully-qualified class name, of the parameter/argument event.
If I…

Basil Bourque
- 303,325
- 100
- 852
- 1,154
1
vote
0 answers
How to access Rabbitmq Management UI by using fully qualified server name address?
How to access Rabbitmq Management UI by using fully qualified server name address? It is working with localhost, but not with server fully qualified name.

Venkat Naidu
- 346
- 3
- 11
1
vote
1 answer
Fully Qualified Namespace Metadata Error with Roslyn
I am trying to make a code analyzer which checks for fully qualified using statements. This link has been incredibly helpful, and the basis for my solution (How can I get the fully qualified namespace from a using directive in Roslyn?) but I am…

CynicalPassion63
- 145
- 13
1
vote
2 answers
forward declaration and typename using new keyword
I'm getting an error below in the class a declaring a new pointer of type b. Please help.
#include
namespace B
{
class b;
}
class a
{
private:
B::b* obj_b;
public:
a(){}
~a(){}
void create()
{
…

pandoragami
- 5,387
- 15
- 68
- 116
1
vote
1 answer
how to find out Fully qualified name IntelliJ project
I have an IntelliJ project with 2 scala objects, as below:
cloudera@quickstart tlf]$ ll
total 8
-rwxrw-r-- 1 cloudera cloudera 1601 May 2 15:45 AnalyzeGraphTlf.scala
-rwxrw-r-- 1 cloudera cloudera 1868 May 2 13:35…

florecitas
- 125
- 3
- 10
1
vote
1 answer
Determining Fully Qualified Class Name from Java.lang.String
I have considered in thought how I can take a java.lang.String representing a class name and determine the fully qualified name to then convert the string to a class using Java.lang.Class.forName(FullyQualifiedName).
This is puzzling me because I…

Mushy
- 2,535
- 10
- 33
- 54