Package net.sourceforge.pmd.lang.ast
Interface QualifiedName
-
@Deprecated public interface QualifiedName
Deprecated.Not useful anymoreBasic interface for qualified names usable in the metrics framework. Qualified names identify unambiguously operations and classes across the analysed project. Language specific pmd modules should have at most one implementation of this interface, to allow safe downcasting from QualifiedName to e.g. JavaQualifiedName.- Author:
- Clément Fournier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description QualifiedName
getClassName()
Deprecated.Returns the qualified name of the class the resource is located in.boolean
isClass()
Deprecated.Returns true if the resource addressed by this qualified name is a class.boolean
isOperation()
Deprecated.Returns true if the resource addressed by this qualified name is an operation.String
toString()
Deprecated.
-
-
-
Method Detail
-
getClassName
QualifiedName getClassName()
Deprecated.Returns the qualified name of the class the resource is located in. If this instance addresses a class, returns this instance.- Returns:
- The qualified name of the class
-
isClass
boolean isClass()
Deprecated.Returns true if the resource addressed by this qualified name is a class.- Returns:
- true if the resource addressed by this qualified name is a class.
-
isOperation
boolean isOperation()
Deprecated.Returns true if the resource addressed by this qualified name is an operation.- Returns:
- true if the resource addressed by this qualified name is an operation.
-
-