test_class.declarator: context = new SlingContext()
test_class.modifier: @Rule
      public final
test_class.original_string: @Rule
      public final SlingContext context = new SlingContext();
test_class.type: SlingContext
test_class.var_name: context
test_class.declarator: provider
test_class.modifier: private @NotNull
test_class.original_string: private @NotNull PublicationPropertyProvider provider;
test_class.type: PublicationPropertyProvider
test_class.var_name: provider
test_class.file: core/src/test/java/org/apache/sling/cms/core/publication/PublicationPropertyProviderTest.java
test_class.identifier: PublicationPropertyProviderTest
test_case.body: @Test
      public void testGetInstanceType() {
          assertEquals(INSTANCE_TYPE.RENDERER.toString(),
                  provider.getProperty(PublicationPropertyProvider.INSTANCE_TYPE));
      }
test_case.class_method_signature: PublicationPropertyProviderTest.testGetInstanceType()
test_case.full_signature: @Test public void testGetInstanceType()
test_case.identifier: testGetInstanceType
test_case.invocations: assertEquals toString getProperty
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetInstanceType()
focal_class.declarator: log = LoggerFactory.getLogger(PublicationPropertyProvider.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(PublicationPropertyProvider.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: ENDPOINT_PATHS = "pub.endpointPaths"
focal_class.modifier: public static final
focal_class.original_string: public static final String ENDPOINT_PATHS = "pub.endpointPaths";
focal_class.type: String
focal_class.var_name: ENDPOINT_PATHS
focal_class.declarator: INSTANCE_TYPE = "pub.instanceType"
focal_class.modifier: public static final
focal_class.original_string: public static final String INSTANCE_TYPE = "pub.instanceType";
focal_class.type: String
focal_class.var_name: INSTANCE_TYPE
focal_class.declarator: publicationManagerFactory
focal_class.modifier: @Reference
      private
focal_class.original_string: @Reference
      private PublicationManagerFactory publicationManagerFactory;
focal_class.type: PublicationManagerFactory
focal_class.var_name: publicationManagerFactory
focal_class.declarator: config
focal_class.modifier: private
focal_class.original_string: private PublicationPropertyProviderConfig config;
focal_class.type: PublicationPropertyProviderConfig
focal_class.var_name: config
focal_class.file: core/src/main/java/org/apache/sling/cms/core/publication/PublicationPropertyProvider.java
focal_class.identifier: PublicationPropertyProvider
focal_class.interfaces: implements PropertyProvider
focal_class.class_method_signature: PublicationPropertyProvider.activate(PublicationPropertyProviderConfig config)
focal_class.full_signature: @Activate public void activate(PublicationPropertyProviderConfig config)
focal_class.identifier: activate
focal_class.modifiers: @Activate public
focal_class.parameters: (PublicationPropertyProviderConfig config)
focal_class.return: void
focal_class.signature: void activate(PublicationPropertyProviderConfig config)
focal_class.class_method_signature: PublicationPropertyProvider.getProperty(String name)
focal_class.full_signature: @Override public String getProperty(String name)
focal_class.identifier: getProperty
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String getProperty(String name)
focal_method.body: @Override
      public String getProperty(String name) {
          log.trace("getProperty({})", name);
          if (ENDPOINT_PATHS.equals(name)) {
              return config.endpointPath();
          } else if (INSTANCE_TYPE.equals(name)) {
              return publicationManagerFactory.getInstanceType().toString();
          }
          return null;
      }
focal_method.class_method_signature: PublicationPropertyProvider.getProperty(String name)
focal_method.full_signature: @Override public String getProperty(String name)
focal_method.identifier: getProperty
focal_method.invocations: trace equals endpointPath equals toString getInstanceType
focal_method.modifiers: @Override public
focal_method.parameters: (String name)
focal_method.return: String
focal_method.signature: String getProperty(String name)