private final LocalVariable createOnlyVariable(final AClass aClass, final String name, boolean anonymous){
if(!anonymous && StringUtils.isBlank(name)){
throw new IllegalArgumentException("variable must be non-null if 'anonymous' is false");
}
LocalVariableEntity lve = new LocalVariableEntity(anonymous ? "anonymous" : name, 0, aClass);
LocalVariableCreator lvc = OperatorFactory.newOperator(LocalVariableCreator.class,
new Class<?>[]{ProgramBlock.class, String.class, Type.class, Type.class},
getExecuteBlock(), anonymous ? null : name, aClass.getType(), aClass.getType());
ScopeLogicVariable slv = lvc.getScopeLogicVariable();
slv.setCompileOrder(insnHelper.getMethod().nextInsNumber());
LocalVariable lv = new LocalVariable(lve);
lv.setScopeLogicVar(slv);
return lv;
}