public class AnnotationMacroBodyTranformationCondition extends Object implements MacroBodyTransformationCondition
RequiresFormat annotation on the
Macro class. The default behaviour if no annotation is provided is to do
the transformation.RequiresFormat,
Format,
Macro| Constructor and Description |
|---|
AnnotationMacroBodyTranformationCondition(MacroManager macroManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldTransform(String macroName)
Returns true if the macro body should be transformed, false otherwise.
|
public AnnotationMacroBodyTranformationCondition(MacroManager macroManager)
public boolean shouldTransform(String macroName)
MacroBodyTransformationConditionshouldTransform in interface MacroBodyTransformationConditionmacroName - macro nameCopyright © 2003–2022 Atlassian. All rights reserved.