public Structure getDefaultMethodWrapperClosureType() {
		if (defaultMethodWrapperType == null) {
			StructureDataType closureDT = new StructureDataType(getCP(),
				".methodwrapper", 0, dtm);

			FunctionDefinitionDataType funcDef =
				new FunctionDefinitionDataType(getCP(), ".methodwrapperF", dtm);
			ParameterDefinition[] params = new ParameterDefinition[] { new ParameterDefinitionImpl(
				GOLANG_CLOSURE_CONTEXT_NAME, dtm.getPointer(closureDT), null) };
			funcDef.setArguments(params);

			closureDT.add(dtm.getPointer(funcDef), "F", null);
			closureDT.add(voidPtrDT, "R", "method receiver");

			defaultMethodWrapperType =
				(Structure) dtm.addDataType(closureDT, DataTypeConflictHandler.DEFAULT_HANDLER);
		}

		return defaultMethodWrapperType;
	}
Returns the data type that represents a generic golang slice.

@return golang generic slice data type
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoTypeManager.java