MCPcopy Create free account
hub / github.com/PCGen/pcgen / addVariable

Method addVariable

code/src/java/pcgen/cdom/helper/Aspect.java:186–193  ·  view source on GitHub ↗

Adds a variable to use in variable substitution. @param aVariable

(final String aVariable)

Source from the content-addressed store, hash-verified

184 * @param aVariable
185 */
186 public void addVariable(final String aVariable)
187 {
188 if (theVariables == null)
189 {
190 theVariables = new ArrayList<>();
191 }
192 theVariables.add(aVariable);
193 }
194
195 /**
196 * Gets the name of the aspect.

Callers 7

testSimpleReplacementMethod · 0.95
testExtraVariablesMethod · 0.95
parseAspectMethod · 0.95

Calls 1

addMethod · 0.65