test_class.declarator: typeProvider
test_class.modifier: private
test_class.original_string: private TreeTypeProvider typeProvider;
test_class.type: TreeTypeProvider
test_class.var_name: typeProvider
test_class.declarator: tests
test_class.modifier: private
test_class.original_string: private List<TypeTest> tests;
test_class.type: List<TypeTest>
test_class.var_name: tests
test_class.file: oak-security-spi/src/test/java/org/apache/jackrabbit/oak/plugins/tree/TreeTypeProviderTest.java
test_class.identifier: TreeTypeProviderTest
test_class.superclass: extends AbstractTreeTest
test_case.body: @Test
      public void testGetTypeWithParentType() {
          for (TypeTest test : tests) {
              assertEquals(test.path, test.type, typeProvider.getType(mockTree(test.path, true), test.parentType));
          }
      }
test_case.class_method_signature: TreeTypeProviderTest.testGetTypeWithParentType()
test_case.full_signature: @Test public void testGetTypeWithParentType()
test_case.identifier: testGetTypeWithParentType
test_case.invocations: assertEquals getType mockTree
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetTypeWithParentType()
focal_class.declarator: ctx
focal_class.modifier: private final
focal_class.original_string: private final TreeContext ctx;
focal_class.type: TreeContext
focal_class.var_name: ctx
focal_class.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/plugins/tree/TreeTypeProvider.java
focal_class.identifier: TreeTypeProvider
focal_class.class_method_signature: TreeTypeProvider.TreeTypeProvider(@NotNull TreeContext authorizationContext)
focal_class.full_signature: public  TreeTypeProvider(@NotNull TreeContext authorizationContext)
focal_class.identifier: TreeTypeProvider
focal_class.modifiers: public
focal_class.parameters: (@NotNull TreeContext authorizationContext)
focal_class.signature:  TreeTypeProvider(@NotNull TreeContext authorizationContext)
focal_class.class_method_signature: TreeTypeProvider.getType(@NotNull Tree tree)
focal_class.full_signature: public TreeType getType(@NotNull Tree tree)
focal_class.identifier: getType
focal_class.modifiers: public
focal_class.parameters: (@NotNull Tree tree)
focal_class.return: TreeType
focal_class.signature: TreeType getType(@NotNull Tree tree)
focal_class.class_method_signature: TreeTypeProvider.getType(@NotNull Tree tree, @NotNull TreeType parentType)
focal_class.full_signature: public TreeType getType(@NotNull Tree tree, @NotNull TreeType parentType)
focal_class.identifier: getType
focal_class.modifiers: public
focal_class.parameters: (@NotNull Tree tree, @NotNull TreeType parentType)
focal_class.return: TreeType
focal_class.signature: TreeType getType(@NotNull Tree tree, @NotNull TreeType parentType)
focal_class.class_method_signature: TreeTypeProvider.internalGetType(@NotNull Tree tree)
focal_class.full_signature: private TreeType internalGetType(@NotNull Tree tree)
focal_class.identifier: internalGetType
focal_class.modifiers: private
focal_class.parameters: (@NotNull Tree tree)
focal_class.return: TreeType
focal_class.signature: TreeType internalGetType(@NotNull Tree tree)
focal_class.class_method_signature: TreeTypeProvider.internalGetType(@NotNull Tree tree, @NotNull TreeType parentType)
focal_class.full_signature: private TreeType internalGetType(@NotNull Tree tree, @NotNull TreeType parentType)
focal_class.identifier: internalGetType
focal_class.modifiers: private
focal_class.parameters: (@NotNull Tree tree, @NotNull TreeType parentType)
focal_class.return: TreeType
focal_class.signature: TreeType internalGetType(@NotNull Tree tree, @NotNull TreeType parentType)
focal_class.class_method_signature: TreeTypeProvider.internalGetType(@NotNull String name, @NotNull Tree tree)
focal_class.full_signature: private TreeType internalGetType(@NotNull String name, @NotNull Tree tree)
focal_class.identifier: internalGetType
focal_class.modifiers: private
focal_class.parameters: (@NotNull String name, @NotNull Tree tree)
focal_class.return: TreeType
focal_class.signature: TreeType internalGetType(@NotNull String name, @NotNull Tree tree)
focal_method.body: public TreeType getType(@NotNull Tree tree) {
          if (tree.isRoot()) {
              return TreeType.DEFAULT;
          } else {
              TreeType type;
              if (tree instanceof TreeTypeAware) {
                  type = ((TreeTypeAware) tree).getType();
                  if (type == null) {
                      type = internalGetType(tree);
                      ((TreeTypeAware) tree).setType(type);
                  }
              } else {
                  type = internalGetType(tree);
              }
              return type;
          }
      }
focal_method.class_method_signature: TreeTypeProvider.getType(@NotNull Tree tree)
focal_method.full_signature: public TreeType getType(@NotNull Tree tree)
focal_method.identifier: getType
focal_method.invocations: isRoot getType internalGetType setType internalGetType
focal_method.modifiers: public
focal_method.parameters: (@NotNull Tree tree)
focal_method.return: TreeType
focal_method.signature: TreeType getType(@NotNull Tree tree)