@Test public void testGetReferencedResources() { Element elem = mock( Element.class ); ResourceReference[] expected = new ResourceReference[] { mock( ResourceReference.class ) }; doReturn( expected ).when( expressionPropertyCore ).getReferencedResources( metaData, element, null, elem, null ); ResourceReference[] result = metaData.getReferencedResources( element, null, elem, null ); assertThat( result, is( equalTo( expected ) ) ); }
public ResourceReference[] getReferencedResources( final Expression expression, final Object attributeValue, final Element reportElement, final ResourceManager resourceManager ) { return expressionPropertyCore.getReferencedResources( this, expression, attributeValue, reportElement, resourceManager ); }
DefaultExpressionPropertyMetaData extends AbstractMetaData implements ExpressionPropertyMetaData { public ResourceReference[] getReferencedResources( final Expression expression, final Object attributeValue, final Element reportElement, final ResourceManager resourceManager ) { return expressionPropertyCore.getReferencedResources( this, expression, attributeValue, reportElement, resourceManager ); } }
DefaultExpressionPropertyMetaData extends AbstractMetaData implements ExpressionPropertyMetaData { public ResourceReference[] getReferencedResources( final Expression expression, final Object attributeValue, final Element reportElement, final ResourceManager resourceManager ) { return expressionPropertyCore.getReferencedResources( this, expression, attributeValue, reportElement, resourceManager ); } @Deprecated  DefaultExpressionPropertyMetaData( final String name, final String bundleLocation, final boolean expert,
      final boolean preferred, final boolean hidden, final boolean deprecated, final boolean mandatory,
      final boolean computed, final String propertyRole, final SharedBeanInfo beanInfo,
      final String propertyEditorClass, final ExpressionPropertyCore expressionPropertyCore,
      final MaturityLevel maturityLevel, final int compatibilityLevel, boolean  designTimeProperty );  DefaultExpressionPropertyMetaData( final ExpressionPropertyMetaDataBuilder builder ); }
DefaultExpressionPropertyMetaData extends AbstractMetaData implements ExpressionPropertyMetaData { public ResourceReference[] getReferencedResources( final Expression expression, final Object attributeValue, final Element reportElement, final ResourceManager resourceManager ) { return expressionPropertyCore.getReferencedResources( this, expression, attributeValue, reportElement, resourceManager ); } @Deprecated  DefaultExpressionPropertyMetaData( final String name, final String bundleLocation, final boolean expert,
      final boolean preferred, final boolean hidden, final boolean deprecated, final boolean mandatory,
      final boolean computed, final String propertyRole, final SharedBeanInfo beanInfo,
      final String propertyEditorClass, final ExpressionPropertyCore expressionPropertyCore,
      final MaturityLevel maturityLevel, final int compatibilityLevel, boolean  designTimeProperty );  DefaultExpressionPropertyMetaData( final ExpressionPropertyMetaDataBuilder builder ); boolean isComputed(); Class<?> getPropertyType(); String getPropertyRole(); boolean isMandatory(); String[] getReferencedFields( final Expression element, final Object attributeValue ); String[] getReferencedGroups( final Expression element, final Object attributeValue ); String[] getReferencedElements( final Expression expression, final Object attributeValue ); ResourceReference[] getReferencedResources( final Expression expression, final Object attributeValue,
      final Element reportElement, final ResourceManager resourceManager ); PropertyDescriptor getBeanDescriptor(); PropertyEditor getEditor(); String[] getExtraCalculationFields(); @Override Class<? extends UserDefinedExpressionPropertyReadHandler> getPropertyReadHandler(); @Override Class<? extends ExpressionPropertyWriteHandler> getPropertyWriteHandler(); boolean isDesignTimeProperty(); }
DefaultExpressionPropertyMetaData extends AbstractMetaData implements ExpressionPropertyMetaData { public ResourceReference[] getReferencedResources( final Expression expression, final Object attributeValue, final Element reportElement, final ResourceManager resourceManager ) { return expressionPropertyCore.getReferencedResources( this, expression, attributeValue, reportElement, resourceManager ); } @Deprecated  DefaultExpressionPropertyMetaData( final String name, final String bundleLocation, final boolean expert,
      final boolean preferred, final boolean hidden, final boolean deprecated, final boolean mandatory,
      final boolean computed, final String propertyRole, final SharedBeanInfo beanInfo,
      final String propertyEditorClass, final ExpressionPropertyCore expressionPropertyCore,
      final MaturityLevel maturityLevel, final int compatibilityLevel, boolean  designTimeProperty );  DefaultExpressionPropertyMetaData( final ExpressionPropertyMetaDataBuilder builder ); boolean isComputed(); Class<?> getPropertyType(); String getPropertyRole(); boolean isMandatory(); String[] getReferencedFields( final Expression element, final Object attributeValue ); String[] getReferencedGroups( final Expression element, final Object attributeValue ); String[] getReferencedElements( final Expression expression, final Object attributeValue ); ResourceReference[] getReferencedResources( final Expression expression, final Object attributeValue,
      final Element reportElement, final ResourceManager resourceManager ); PropertyDescriptor getBeanDescriptor(); PropertyEditor getEditor(); String[] getExtraCalculationFields(); @Override Class<? extends UserDefinedExpressionPropertyReadHandler> getPropertyReadHandler(); @Override Class<? extends ExpressionPropertyWriteHandler> getPropertyWriteHandler(); boolean isDesignTimeProperty();  }