use of com.robotoworks.mechanoid.net.netModel.IntrinsicType in project mechanoid by robotoworks.
the class RequestGenerator method _buildConstructorArgsForType.
protected void _buildConstructorArgsForType(final GenericListType type, final List<String> args) {
Type _elementType = type.getElementType();
if ((_elementType instanceof IntrinsicType)) {
String _signature = ModelExtensions.signature(type);
String _plus = (_signature + " values");
args.add(_plus);
} else {
String _signature_1 = ModelExtensions.signature(type);
String _plus_1 = (_signature_1 + " ");
String _innerSignature = ModelExtensions.innerSignature(type);
String _camelize = Strings.camelize(_innerSignature);
String _pluralize = Strings.pluralize(_camelize);
String _plus_2 = (_plus_1 + _pluralize);
args.add(_plus_2);
}
}
Aggregations