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.file: core/src/test/java/org/apache/sling/cms/core/internal/models/PublishableResourceImplTest.java
test_class.identifier: PublishableResourceImplTest
test_case.body: @Test
      public void testInValid() {
          context.currentResource("/content/apache/sling-apache-org/index/jcr:content");
          PublishableResource publishableResource = context.currentResource().adaptTo(PublishableResource.class);
          assertNotNull(publishableResource);
          assertNull(publishableResource.getContentResource());
      }
test_case.class_method_signature: PublishableResourceImplTest.testInValid()
test_case.full_signature: @Test public void testInValid()
test_case.identifier: testInValid
test_case.invocations: currentResource adaptTo currentResource assertNotNull assertNull getContentResource
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInValid()
focal_class.declarator: log = LoggerFactory.getLogger(PublishableResourceImpl.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(PublishableResourceImpl.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: LEGACY_PUBLISHED_PROPERTY = "published"
focal_class.modifier: public static final
focal_class.original_string: public static final String LEGACY_PUBLISHED_PROPERTY = "published";
focal_class.type: String
focal_class.var_name: LEGACY_PUBLISHED_PROPERTY
focal_class.declarator: contentResource
focal_class.modifier: private final
focal_class.original_string: private final Resource contentResource;
focal_class.type: Resource
focal_class.var_name: contentResource
focal_class.declarator: created
focal_class.modifier: private final
focal_class.original_string: private final Calendar created;
focal_class.type: Calendar
focal_class.var_name: created
focal_class.declarator: createdBy
focal_class.modifier: private final
focal_class.original_string: private final String createdBy;
focal_class.type: String
focal_class.var_name: createdBy
focal_class.declarator: lastModified
focal_class.modifier: private final
focal_class.original_string: private final Calendar lastModified;
focal_class.type: Calendar
focal_class.var_name: lastModified
focal_class.declarator: lastModifiedBy
focal_class.modifier: private final
focal_class.original_string: private final String lastModifiedBy;
focal_class.type: String
focal_class.var_name: lastModifiedBy
focal_class.declarator: lastPublication
focal_class.modifier: private final
focal_class.original_string: private final Calendar lastPublication;
focal_class.type: Calendar
focal_class.var_name: lastPublication
focal_class.declarator: lastPublicationType
focal_class.modifier: private final
focal_class.original_string: private final String lastPublicationType;
focal_class.type: String
focal_class.var_name: lastPublicationType
focal_class.declarator: published
focal_class.modifier: private final
focal_class.original_string: private final boolean published;
focal_class.type: boolean
focal_class.var_name: published
focal_class.declarator: resource
focal_class.modifier: protected final
focal_class.original_string: protected final Resource resource;
focal_class.type: Resource
focal_class.var_name: resource
focal_class.declarator: lastPublicationBy
focal_class.modifier: private
focal_class.original_string: private String lastPublicationBy;
focal_class.type: String
focal_class.var_name: lastPublicationBy
focal_class.file: core/src/main/java/org/apache/sling/cms/core/internal/models/PublishableResourceImpl.java
focal_class.identifier: PublishableResourceImpl
focal_class.interfaces: implements PublishableResource
focal_class.class_method_signature: PublishableResourceImpl.PublishableResourceImpl(@Self Resource resource)
focal_class.full_signature: @Inject public  PublishableResourceImpl(@Self Resource resource)
focal_class.identifier: PublishableResourceImpl
focal_class.modifiers: @Inject public
focal_class.parameters: (@Self Resource resource)
focal_class.signature:  PublishableResourceImpl(@Self Resource resource)
focal_class.class_method_signature: PublishableResourceImpl.getContentResource()
focal_class.full_signature: @Override public Resource getContentResource()
focal_class.identifier: getContentResource
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Resource
focal_class.signature: Resource getContentResource()
focal_class.class_method_signature: PublishableResourceImpl.getCreated()
focal_class.full_signature: @Override public Calendar getCreated()
focal_class.identifier: getCreated
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Calendar
focal_class.signature: Calendar getCreated()
focal_class.class_method_signature: PublishableResourceImpl.getCreatedBy()
focal_class.full_signature: @Override public String getCreatedBy()
focal_class.identifier: getCreatedBy
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getCreatedBy()
focal_class.class_method_signature: PublishableResourceImpl.getLastModified()
focal_class.full_signature: @Override public Calendar getLastModified()
focal_class.identifier: getLastModified
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Calendar
focal_class.signature: Calendar getLastModified()
focal_class.class_method_signature: PublishableResourceImpl.getLastModifiedBy()
focal_class.full_signature: @Override public String getLastModifiedBy()
focal_class.identifier: getLastModifiedBy
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLastModifiedBy()
focal_class.class_method_signature: PublishableResourceImpl.getLastPublicationType()
focal_class.full_signature: @Override public PublicationType getLastPublicationType()
focal_class.identifier: getLastPublicationType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: PublicationType
focal_class.signature: PublicationType getLastPublicationType()
focal_class.class_method_signature: PublishableResourceImpl.getLastPublication()
focal_class.full_signature: @Override public Calendar getLastPublication()
focal_class.identifier: getLastPublication
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Calendar
focal_class.signature: Calendar getLastPublication()
focal_class.class_method_signature: PublishableResourceImpl.getLastPublicationBy()
focal_class.full_signature: @Override public String getLastPublicationBy()
focal_class.identifier: getLastPublicationBy
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLastPublicationBy()
focal_class.class_method_signature: PublishableResourceImpl.getName()
focal_class.full_signature: @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: PublishableResourceImpl.getParent()
focal_class.full_signature: @Override public Resource getParent()
focal_class.identifier: getParent
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Resource
focal_class.signature: Resource getParent()
focal_class.class_method_signature: PublishableResourceImpl.getPath()
focal_class.full_signature: @Override public String getPath()
focal_class.identifier: getPath
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPath()
focal_class.class_method_signature: PublishableResourceImpl.getProperties()
focal_class.full_signature: @Override public ValueMap getProperties()
focal_class.identifier: getProperties
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ValueMap
focal_class.signature: ValueMap getProperties()
focal_class.class_method_signature: PublishableResourceImpl.getPublishedPath()
focal_class.full_signature: @Override public String getPublishedPath()
focal_class.identifier: getPublishedPath
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPublishedPath()
focal_class.class_method_signature: PublishableResourceImpl.getPublishedUrl()
focal_class.full_signature: @Override public String getPublishedUrl()
focal_class.identifier: getPublishedUrl
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPublishedUrl()
focal_class.class_method_signature: PublishableResourceImpl.getResource()
focal_class.full_signature: @Override public Resource getResource()
focal_class.identifier: getResource
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Resource
focal_class.signature: Resource getResource()
focal_class.class_method_signature: PublishableResourceImpl.getSite()
focal_class.full_signature: @Override public Site getSite()
focal_class.identifier: getSite
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Site
focal_class.signature: Site getSite()
focal_class.class_method_signature: PublishableResourceImpl.isPublished()
focal_class.full_signature: @Override public boolean isPublished()
focal_class.identifier: isPublished
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isPublished()
focal_method.body: @Override
      public Resource getContentResource() {
          return contentResource;
      }
focal_method.class_method_signature: PublishableResourceImpl.getContentResource()
focal_method.full_signature: @Override public Resource getContentResource()
focal_method.identifier: getContentResource
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Resource
focal_method.signature: Resource getContentResource()