@Test public void testDefinesTree() { for (String ntName : NT_NAMES) { assertTrue(ctx.definesTree(mockTree("anyName", ntName))); } }
@Override public boolean definesTree(@NotNull Tree tree) { String ntName = TreeUtil.getPrimaryTypeName(tree); return NT_NAMES.contains(ntName); }
UserContext implements Context, UserConstants { @Override public boolean definesTree(@NotNull Tree tree) { String ntName = TreeUtil.getPrimaryTypeName(tree); return NT_NAMES.contains(ntName); } }
UserContext implements Context, UserConstants { @Override public boolean definesTree(@NotNull Tree tree) { String ntName = TreeUtil.getPrimaryTypeName(tree); return NT_NAMES.contains(ntName); } private  UserContext(); }
UserContext implements Context, UserConstants { @Override public boolean definesTree(@NotNull Tree tree) { String ntName = TreeUtil.getPrimaryTypeName(tree); return NT_NAMES.contains(ntName); } private  UserContext(); @Override boolean definesProperty(@NotNull Tree parent, @NotNull PropertyState property); @Override boolean definesContextRoot(@NotNull Tree tree); @Override boolean definesTree(@NotNull Tree tree); @Override boolean definesLocation(@NotNull TreeLocation location); @Override boolean definesInternal(@NotNull Tree tree); }
UserContext implements Context, UserConstants { @Override public boolean definesTree(@NotNull Tree tree) { String ntName = TreeUtil.getPrimaryTypeName(tree); return NT_NAMES.contains(ntName); } private  UserContext(); @Override boolean definesProperty(@NotNull Tree parent, @NotNull PropertyState property); @Override boolean definesContextRoot(@NotNull Tree tree); @Override boolean definesTree(@NotNull Tree tree); @Override boolean definesLocation(@NotNull TreeLocation location); @Override boolean definesInternal(@NotNull Tree tree);  }