Class FinalClassCheck.TypeDeclarationDescription

    • Field Detail

      • qualifiedName

        private final String qualifiedName
        Complete type declaration name with package name and outer type declaration name.
      • depth

        private final int depth
        Depth of nesting of type declaration.
    • Constructor Detail

      • TypeDeclarationDescription

        TypeDeclarationDescription​(String qualifiedName,
                                   int depth,
                                   DetailAST typeDeclarationAst)
        Create an instance of TypeDeclarationDescription.
        Parameters:
        qualifiedName - Complete type declaration name with package name and outer type declaration name.
        depth - Depth of nesting of type declaration
        typeDeclarationAst - Type declaration ast node
    • Method Detail

      • getQualifiedName

        protected String getQualifiedName()
        Get the complete type declaration name i.e. type declaration name with package name and outer type declaration name.
        Returns:
        qualified class name
      • getDepth

        protected int getDepth()
        Get the depth of type declaration.
        Returns:
        the depth of nesting of type declaration