Class FinalClassCheck.TypeDeclarationDescription

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int depth
      Depth of nesting of type declaration.
      private java.lang.String qualifiedName
      Complete type declaration name with package name and outer type declaration name.
      private DetailAST typeDeclarationAst
      Type declaration ast node.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private TypeDeclarationDescription​(java.lang.String qualifiedName, int depth, DetailAST typeDeclarationAst)
      Create an instance of TypeDeclarationDescription.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected int getDepth()
      Get the depth of type declaration.
      protected java.lang.String getQualifiedName()
      Get the complete type declaration name i.e.
      protected DetailAST getTypeDeclarationAst()
      Get the type declaration ast node.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • qualifiedName

        private final java.lang.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

        private TypeDeclarationDescription​(java.lang.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 java.lang.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