@Test public void static_variable() { List<Symbol> symbols = SYMBOL_MODEL.getSymbols("$static"); assertThat(symbols).hasSize(1); Symbol symbol = symbols.get(0); assertThat(symbol.hasModifier("static")).isTrue(); }
public ImmutableList<Symbol> getSymbols() { return ImmutableList.copyOf(symbols); }
SymbolTableImpl implements SymbolTable { public ImmutableList<Symbol> getSymbols() { return ImmutableList.copyOf(symbols); } }
SymbolTableImpl implements SymbolTable { public ImmutableList<Symbol> getSymbols() { return ImmutableList.copyOf(symbols); } private  SymbolTableImpl(); }
SymbolTableImpl implements SymbolTable { public ImmutableList<Symbol> getSymbols() { return ImmutableList.copyOf(symbols); } private  SymbolTableImpl(); static SymbolTableImpl create(CompilationUnitTree compilationUnit); static SymbolTableImpl create(CompilationUnitTree compilationUnit, ProjectSymbolData projectSymbolData, @Nullable PhpFile file); @Override ImmutableSet<Scope> getScopes(); @Nullable @Override Scope getScopeFor(Tree tree); ImmutableList<Symbol> getSymbols(); @Override List<Symbol> getSymbols(Symbol.Kind kind); List<Symbol> getSymbols(String name); @Override @CheckForNull Symbol getSymbol(Tree tree); Collection<ClassSymbolData> classSymbolDatas(); Collection<FunctionSymbolData> functionSymbolDatas(); }
SymbolTableImpl implements SymbolTable { public ImmutableList<Symbol> getSymbols() { return ImmutableList.copyOf(symbols); } private  SymbolTableImpl(); static SymbolTableImpl create(CompilationUnitTree compilationUnit); static SymbolTableImpl create(CompilationUnitTree compilationUnit, ProjectSymbolData projectSymbolData, @Nullable PhpFile file); @Override ImmutableSet<Scope> getScopes(); @Nullable @Override Scope getScopeFor(Tree tree); ImmutableList<Symbol> getSymbols(); @Override List<Symbol> getSymbols(Symbol.Kind kind); List<Symbol> getSymbols(String name); @Override @CheckForNull Symbol getSymbol(Tree tree); Collection<ClassSymbolData> classSymbolDatas(); Collection<FunctionSymbolData> functionSymbolDatas();  }