@Test public void testNotDefinesContextRoot() { for (String ntName : new String[] { JcrConstants.NT_UNSTRUCTURED, JcrConstants.NT_BASE, NodeTypeConstants.NT_REP_SYSTEM, NodeTypeConstants.NT_REP_ROOT, NT_REP_AUTHORIZABLE_FOLDER}) { assertFalse(ctx.definesContextRoot(mockTree("anyName", ntName))); } }
@Override public boolean definesContextRoot(@NotNull Tree tree) { return definesTree(tree); }
UserContext implements Context, UserConstants { @Override public boolean definesContextRoot(@NotNull Tree tree) { return definesTree(tree); } }
UserContext implements Context, UserConstants { @Override public boolean definesContextRoot(@NotNull Tree tree) { return definesTree(tree); } private  UserContext(); }
UserContext implements Context, UserConstants { @Override public boolean definesContextRoot(@NotNull Tree tree) { return definesTree(tree); } 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 definesContextRoot(@NotNull Tree tree) { return definesTree(tree); } 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);  }