Class NestedClassSelector

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.util.List<java.lang.Class<?>> getEnclosingClasses()
      Get the list of Class enclosing the selected nested Class.
      java.util.List<java.lang.String> getEnclosingClassNames()
      Get the names of the classes enclosing the selected nested class.
      java.lang.Class<?> getNestedClass()
      Get the selected nested Class.
      java.lang.String getNestedClassName()
      Get the name of the selected nested class.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getEnclosingClassNames

        public java.util.List<java.lang.String> getEnclosingClassNames()
        Get the names of the classes enclosing the selected nested class.
      • getEnclosingClasses

        public java.util.List<java.lang.Class<?>> getEnclosingClasses()
        Get the list of Class enclosing the selected nested Class.

        If the Class were not provided, but only the name of the nested class and its enclosing classes, this method attempts to lazily load the list of enclosing Class and throws a PreconditionViolationException if the classes cannot be loaded.

      • getNestedClassName

        public java.lang.String getNestedClassName()
        Get the name of the selected nested class.
      • getNestedClass

        public java.lang.Class<?> getNestedClass()
        Get the selected nested Class.

        If the Class were not provided, but only the name of the nested class and its enclosing classes, this method attempts to lazily load the nested Class and throws a PreconditionViolationException if the class cannot be loaded.

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object