test_class.declarator: valueFactory = new PartialValueFactory(NamePathMapper.DEFAULT)
test_class.modifier: private
test_class.original_string: private PartialValueFactory valueFactory = new PartialValueFactory(NamePathMapper.DEFAULT);
test_class.type: PartialValueFactory
test_class.var_name: valueFactory
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/user/query/QueryUtilTest.java
test_class.identifier: QueryUtilTest
test_case.body: @Test
      public void testNodeTypeName() {
          Map<AuthorizableType, String> ntNames = ImmutableMap.of(
                  AuthorizableType.USER, UserConstants.NT_REP_USER,
                  AuthorizableType.GROUP, UserConstants.NT_REP_GROUP,
                  AuthorizableType.AUTHORIZABLE, UserConstants.NT_REP_AUTHORIZABLE);
  
          for (AuthorizableType type : ntNames.keySet()) {
              assertEquals(ntNames.get(type), QueryUtil.getNodeTypeName(type));
          }
      }
test_case.class_method_signature: QueryUtilTest.testNodeTypeName()
test_case.full_signature: @Test public void testNodeTypeName()
test_case.identifier: testNodeTypeName
test_case.invocations: of keySet assertEquals get getNodeTypeName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNodeTypeName()
focal_class.declarator: log = LoggerFactory.getLogger(QueryUtil.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(QueryUtil.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/query/QueryUtil.java
focal_class.identifier: QueryUtil
focal_class.class_method_signature: QueryUtil.QueryUtil()
focal_class.full_signature: private  QueryUtil()
focal_class.identifier: QueryUtil
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  QueryUtil()
focal_class.class_method_signature: QueryUtil.getSearchRoot(AuthorizableType type, ConfigurationParameters config)
focal_class.full_signature: @NotNull public static String getSearchRoot(AuthorizableType type, ConfigurationParameters config)
focal_class.identifier: getSearchRoot
focal_class.modifiers: @NotNull public static
focal_class.parameters: (AuthorizableType type, ConfigurationParameters config)
focal_class.return: String
focal_class.signature: String getSearchRoot(AuthorizableType type, ConfigurationParameters config)
focal_class.class_method_signature: QueryUtil.getNodeTypeName(@NotNull AuthorizableType type)
focal_class.full_signature: @NotNull public static String getNodeTypeName(@NotNull AuthorizableType type)
focal_class.identifier: getNodeTypeName
focal_class.modifiers: @NotNull public static
focal_class.parameters: (@NotNull AuthorizableType type)
focal_class.return: String
focal_class.signature: String getNodeTypeName(@NotNull AuthorizableType type)
focal_class.class_method_signature: QueryUtil.escapeNodeName(@NotNull String string)
focal_class.full_signature: @NotNull public static String escapeNodeName(@NotNull String string)
focal_class.identifier: escapeNodeName
focal_class.modifiers: @NotNull public static
focal_class.parameters: (@NotNull String string)
focal_class.return: String
focal_class.signature: String escapeNodeName(@NotNull String string)
focal_class.class_method_signature: QueryUtil.format(@NotNull Value value)
focal_class.full_signature: @NotNull public static String format(@NotNull Value value)
focal_class.identifier: format
focal_class.modifiers: @NotNull public static
focal_class.parameters: (@NotNull Value value)
focal_class.return: String
focal_class.signature: String format(@NotNull Value value)
focal_class.class_method_signature: QueryUtil.escapeForQuery(@NotNull String oakName, @NotNull NamePathMapper namePathMapper)
focal_class.full_signature: @NotNull public static String escapeForQuery(@NotNull String oakName, @NotNull NamePathMapper namePathMapper)
focal_class.identifier: escapeForQuery
focal_class.modifiers: @NotNull public static
focal_class.parameters: (@NotNull String oakName, @NotNull NamePathMapper namePathMapper)
focal_class.return: String
focal_class.signature: String escapeForQuery(@NotNull String oakName, @NotNull NamePathMapper namePathMapper)
focal_class.class_method_signature: QueryUtil.escapeForQuery(@NotNull String value)
focal_class.full_signature: @NotNull public static String escapeForQuery(@NotNull String value)
focal_class.identifier: escapeForQuery
focal_class.modifiers: @NotNull public static
focal_class.parameters: (@NotNull String value)
focal_class.return: String
focal_class.signature: String escapeForQuery(@NotNull String value)
focal_class.class_method_signature: QueryUtil.getCollation(@NotNull QueryBuilder.Direction direction)
focal_class.full_signature: @NotNull public static RelationOp getCollation(@NotNull QueryBuilder.Direction direction)
focal_class.identifier: getCollation
focal_class.modifiers: @NotNull public static
focal_class.parameters: (@NotNull QueryBuilder.Direction direction)
focal_class.return: RelationOp
focal_class.signature: RelationOp getCollation(@NotNull QueryBuilder.Direction direction)
focal_class.class_method_signature: QueryUtil.getID(@Nullable Authorizable authorizable)
focal_class.full_signature: @Nullable public static String getID(@Nullable Authorizable authorizable)
focal_class.identifier: getID
focal_class.modifiers: @Nullable public static
focal_class.parameters: (@Nullable Authorizable authorizable)
focal_class.return: String
focal_class.signature: String getID(@Nullable Authorizable authorizable)
focal_method.body: @NotNull
      public static String getNodeTypeName(@NotNull AuthorizableType type) {
          if (type == AuthorizableType.USER) {
              return UserConstants.NT_REP_USER;
          } else if (type == AuthorizableType.GROUP) {
              return UserConstants.NT_REP_GROUP;
          } else {
              return UserConstants.NT_REP_AUTHORIZABLE;
          }
      }
focal_method.class_method_signature: QueryUtil.getNodeTypeName(@NotNull AuthorizableType type)
focal_method.full_signature: @NotNull public static String getNodeTypeName(@NotNull AuthorizableType type)
focal_method.identifier: getNodeTypeName
focal_method.modifiers: @NotNull public static
focal_method.parameters: (@NotNull AuthorizableType type)
focal_method.return: String
focal_method.signature: String getNodeTypeName(@NotNull AuthorizableType type)