Skip to content

Clean up the utility classes and methods #2383

@AaronGreenhouse

Description

@AaronGreenhouse

I searched through for classes in the workspace that contain Util in the name. I came up with this list after filtering out some classes that were obviously related to supported Xtext or some other framework:

  • org.osate.aadl2.instance.util.InstanceUtil
  • org.osate.aadl2.parsesupport.ParseUtil
  • org.osate.aadl2.util.Aadl2InstanceUtil
  • org.osate.aadl2.util.Aadl2Util
  • org.osate.aadl2.modelsupport.resources.OsateResourceUtil
  • org.osate.aadl2.modelsupport.scoping.Aadl2GlobalScopeUtil
  • org.osate.aadl2.modelsupport.util.AadlUtil
  • org.osate.aadl2.modelsupport.util.ResolvePrototypeUtil
  • org.osate.analysis.flows.FlowLatencyUtil
  • org.osate.analysis.flows.reporting.utils.ReportUtils
  • org.osate.annexsupport.AnnexParseUtil
  • org.osate.annexsupport.AnnexUtil
  • org.osate.importer.Utils
  • org.osate.importer.simulink.Utils
  • org.osate.importer.simulink.generator.Utils
  • org.osate.pluginsupport.ExecuteJavaUtil
  • org.osate.pluginsupport.PluginSupportUtil
  • org.osate.result.util.ResultUtil
  • org.osate.ge.internal.ui.util.UiUtil
  • org.osate.ui.UiUtil
  • org.osate.ui.utils.FileUtils
  • org.osate.utils.Aadl2Utils
  • org.osate.utils.Aadl2Visitors
  • org.osate.utils.FileUtils
  • org.osate.utils.FloatUtil
  • org.osate.utils.FloatRange
  • org.osate.utils.IntegerRange
  • org.osate.utils.PropertyUtils
  • org.osate.utils.UnitConversion
  • org.osate.verify.util.VerifyJavaUtil
  • org.osate.verify.util.VerifyUtilExtension
  • org.osate.xtext.aadl2.properties.util.InstanceModelUtil
  • org.osate.xtext.aadl2.properties.util.PropertyUtils

These classes need to be inspected, consolidated, and @deprecated.

Some work has already been one on OsateResourceUtil. I think this was previously deprecated and if so, should be able to be removed immediately.

Most of the property-related stuff I think is being replaced by issue #2113.

Some of this following

  • org.osate.annexsupport.AnnexParseUtil
  • org.osate.annexsupport.AnnexUtil
  • org.osate.pluginsupport.ExecuteJavaUtil
  • org.osate.pluginsupport.PluginSupportUtil

is related to supporting stand-alone "headless" Eclipse execution, that should have it's own issue.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions