Class AllScope

  • All Implemented Interfaces:
    Scope

    public final class AllScope
    extends Object
    implements Scope
    Search all methods/classes in the project.
    • Field Detail

      • INSTANCE

        public static final AllScope INSTANCE
    • Method Detail

      • accept

        public <T> T accept​(ScopeVisitor<T> visitor)
        Description copied from interface: Scope
        Dispatches to the visitor hook for this scope variant.
        Specified by:
        accept in interface Scope
        Type Parameters:
        T - the visitor's result type
        Parameters:
        visitor - the visitor to dispatch to
        Returns:
        whatever the visitor returns for this variant
      • isAll

        public boolean isAll()
        Specified by:
        isAll in interface Scope
        Returns:
        true if the scope is unrestricted, which only AllScope is
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object