Interface QualifiedName


  • @Deprecated
    public interface QualifiedName
    Deprecated.
    Not useful anymore
    Basic 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 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.