@Test public void setAndGetCacheable() { MessageSourceMacroDescriptor desc = descriptor.cacheable(true); assertSame(descriptor, desc); assertTrue(descriptor.isCacheable()); descriptor.cacheable(false); assertFalse(descriptor.isCacheable()); }
MessageSourceMacroDescriptor cacheable(boolean cacheable) { this.cacheable = cacheable; return this; }
MessageSourceMacroDescriptor implements IMacroDescriptor { MessageSourceMacroDescriptor cacheable(boolean cacheable) { this.cacheable = cacheable; return this; } }
MessageSourceMacroDescriptor implements IMacroDescriptor { MessageSourceMacroDescriptor cacheable(boolean cacheable) { this.cacheable = cacheable; return this; } MessageSourceMacroDescriptor(String macroName); }
MessageSourceMacroDescriptor implements IMacroDescriptor { MessageSourceMacroDescriptor cacheable(boolean cacheable) { this.cacheable = cacheable; return this; } MessageSourceMacroDescriptor(String macroName); @Override String getTitle(Locale locale); @Override String getDescription(Locale locale); }
MessageSourceMacroDescriptor implements IMacroDescriptor { MessageSourceMacroDescriptor cacheable(boolean cacheable) { this.cacheable = cacheable; return this; } MessageSourceMacroDescriptor(String macroName); @Override String getTitle(Locale locale); @Override String getDescription(Locale locale);  }