public class RuntimeMacro extends Directive
Constructor | Description |
---|---|
RuntimeMacro(java.lang.String macroName) |
Create a RuntimeMacro instance.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getName() |
Return name of this Velocimacro.
|
java.lang.String |
getScopeName() |
Override to always return "macro".
|
int |
getType() |
Velocimacros are always LINE type directives.
|
getColumn, getLine, getTemplateName, isScopeProvided, setLocation, setLocation
public RuntimeMacro(java.lang.String macroName)
macroName
- name of the macropublic java.lang.String getName()
public java.lang.String getScopeName()
getScopeName
in class Directive
Copyright © 2002–2018 PMD. All rights reserved.