Module xl.compiler

Class StaticImportOnDemand


public final class StaticImportOnDemand extends ImportOnDemandScope
  • Constructor Details

    • StaticImportOnDemand

      public StaticImportOnDemand(Scope enclosing, Type imported)
  • Method Details

    • findMembers

      public void findMembers(String name, int flags, Members list)
      Description copied from class: Scope
      Finds all members which are declared in this scope or enclosing scopes. This method should be overwritten by subclasses; an invocation of super.findMembers has to be included in order to look for members in enclosing scopes. The flags are a combination of the bit masks defined in Members, they are used to restrict the range of possible members.
      Overrides:
      findMembers in class Scope
      Parameters:
      name - simple name of the members to find
      flags - combination of masks defined in Members
      list - found members are added to this list
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getImportedType

      public Type getImportedType()