@Test public void shouldThrow_whenGettingContext() { exception.expect(IllegalStateException.class); moduleScope.getContext(intType()); }
@Override public Set<Symbol> getContext(Type type) { throw new IllegalStateException(); }
ModuleScope extends BlockScope { @Override public Set<Symbol> getContext(Type type) { throw new IllegalStateException(); } }
ModuleScope extends BlockScope { @Override public Set<Symbol> getContext(Type type) { throw new IllegalStateException(); } ModuleScope(Scope parent, TypeScope types, SymbolResolver resolver, SymbolGenerator symbolGenerator, String moduleName); }
ModuleScope extends BlockScope { @Override public Set<Symbol> getContext(Type type) { throw new IllegalStateException(); } ModuleScope(Scope parent, TypeScope types, SymbolResolver resolver, SymbolGenerator symbolGenerator, String moduleName); @Override Scope enterScope(List<Import> imports); @Override Set<Symbol> getContext(Type type); @Override Optional<TypeClassDescriptor> getMemberOf(ValueReference valueRef); @Override Optional<Operator> getOperator(Symbol symbol); @Override Optional<Type> getRawValue(Symbol symbol); @Override Optional<SymbolEntry> getSiblingEntry(Symbol symbol); @Override boolean isDefined(Symbol symbol); @Override Optional<Symbol> qualify(Symbol symbol); }
ModuleScope extends BlockScope { @Override public Set<Symbol> getContext(Type type) { throw new IllegalStateException(); } ModuleScope(Scope parent, TypeScope types, SymbolResolver resolver, SymbolGenerator symbolGenerator, String moduleName); @Override Scope enterScope(List<Import> imports); @Override Set<Symbol> getContext(Type type); @Override Optional<TypeClassDescriptor> getMemberOf(ValueReference valueRef); @Override Optional<Operator> getOperator(Symbol symbol); @Override Optional<Type> getRawValue(Symbol symbol); @Override Optional<SymbolEntry> getSiblingEntry(Symbol symbol); @Override boolean isDefined(Symbol symbol); @Override Optional<Symbol> qualify(Symbol symbol);  }