private static ClassNode makeType(ClassNode cn,boolean usingClass){
  if (usingClass) {
    ClassNode clazzType=CLASS_Type.getPlainNodeReference();
    clazzType.setGenericsTypes(new GenericsType[]{new GenericsType(cn)});
    return clazzType;
  }
 else {
    return cn;
  }
}

private static ClassNode makeType ( ClassNode cn , boolean usingClass ) { if ( usingClass ) { ClassNode clazzType = CLASS_Type . getPlainNodeReference ( ) ; clazzType . setGenericsTypes ( new GenericsType [ ] { new GenericsType ( cn ) } ) ; return clazzType ; } else { return cn ; } }
wrap type in class & lt ; & gt ; if usingclass = = true
