protected void declareVariable(StringBuilder source, ShaderNodeVariable var, String value, boolean appendNameSpace, String modifier) {
        startCondition(var.getCondition(), source);
        appendIndent(source);
        if (modifier != null) {
            source.append(modifier);
            source.append(" ");
        }

        source.append(var.getType());
        source.append(" ");
        if (appendNameSpace) {
            source.append(var.getNameSpace());
            source.append("_");
        }
        source.append(var.getPrefix());
        source.append(var.getName());
        if (var.getMultiplicity() != null) {
            source.append("[");
            source.append(var.getMultiplicity().toUpperCase());
            source.append("]");
        }
        if (value != null) {
            source.append(" = ");
            source.append(value);
        }
        source.append(";\n");
        endCondition(var.getCondition(), source);
    }
declares a variable, embed in a conditional block if needed.
@param source the StringBuilder to use
@param var the variable to declare    
@param value the initialization value to assign the variable
@param appendNameSpace true to append the nameSpace + "_"
@param modifier the modifier of the variable (attribute, varying, in , out,...)
jme3-core/src/main/java/com/jme3/shader/Glsl100ShaderGenerator.java