Skip to content
Snippets Groups Projects
Commit e6513b17 authored by Simon Barner's avatar Simon Barner
Browse files

Merge branch 'master' of https://git.fortiss.org/af3/kernel.git into 4310

parents 37047402 b41ae985
No related branches found
No related tags found
1 merge request!210Setting up Metric extraction plugin for AF3 : Issue 4310
Pipeline #39360 failed
Pipeline: maven-releng

#39361

    Showing
    with 226 additions and 875 deletions
    ...@@ -25,11 +25,11 @@ ...@@ -25,11 +25,11 @@
    [submodule "org.fortiss.tooling.spiderchart.ui/.settings"] [submodule "org.fortiss.tooling.spiderchart.ui/.settings"]
    path = org.fortiss.tooling.spiderchart.ui/.settings path = org.fortiss.tooling.spiderchart.ui/.settings
    url = https://git.fortiss.org/af3/plugin-settings.git url = https://git.fortiss.org/af3/plugin-settings.git
    [submodule "org.fortiss.tooling.variability/.settings"] [submodule "org.fortiss.tooling.ext.variability/.settings"]
    path = org.fortiss.tooling.variability/.settings path = org.fortiss.tooling.ext.variability/.settings
    url = https://git.fortiss.org/af3/plugin-settings.git url = https://git.fortiss.org/af3/plugin-settings.git
    [submodule "org.fortiss.tooling.variability.ui/.settings"] [submodule "org.fortiss.tooling.ext.variability.ui/.settings"]
    path = org.fortiss.tooling.variability.ui/.settings path = org.fortiss.tooling.ext.variability.ui/.settings
    url = https://git.fortiss.org/af3/plugin-settings.git url = https://git.fortiss.org/af3/plugin-settings.git
    [submodule "org.fortiss.variability/.settings"] [submodule "org.fortiss.variability/.settings"]
    path = org.fortiss.variability/.settings path = org.fortiss.variability/.settings
    ......
    Subproject commit 310d1c04f28f6252d5a02dd8fde1b76ae4a4da51
    eclipse.preferences.version=1
    encoding/<project>=US-ASCII
    eclipse.preferences.version=1
    editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
    formatter_profile=_fortiss
    formatter_settings_version=12
    org.eclipse.jdt.ui.javadoc=true
    org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="false" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/** Returns ${bare_field_name}. */</template><template autoinsert\="false" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/** Sets ${bare_field_name}. */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*-------------------------------------------------------------------------+\n| Copyright ${year} fortiss GmbH |\n| |\n| Licensed under the Apache License, Version 2.0 (the "License"); |\n| you may not use this file except in compliance with the License. |\n| You may obtain a copy of the License at |\n| |\n| http\://www.apache.org/licenses/LICENSE-2.0 |\n| |\n| Unless required by applicable law or agreed to in writing, software |\n| distributed under the License is distributed on an "AS IS" BASIS, |\n| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |\n| See the License for the specific language governing permissions and |\n| limitations under the License. |\n+--------------------------------------------------------------------------*/</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * \n * @author ${user}\n*/</template><template autoinsert\="false" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">\n/** */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/** {@inheritDoc} */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created JavaScript files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\n * \n */</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for vars" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-JSDoc)\n * ${see_to_overridden}\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created function stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated function stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
    sp_cleanup.add_default_serial_version_id=true
    sp_cleanup.add_generated_serial_version_id=false
    sp_cleanup.add_missing_annotations=true
    sp_cleanup.add_missing_deprecated_annotations=true
    sp_cleanup.add_missing_methods=false
    sp_cleanup.add_missing_nls_tags=false
    sp_cleanup.add_missing_override_annotations=true
    sp_cleanup.add_missing_override_annotations_interface_methods=true
    sp_cleanup.add_serial_version_id=false
    sp_cleanup.always_use_blocks=true
    sp_cleanup.always_use_parentheses_in_expressions=false
    sp_cleanup.always_use_this_for_non_static_field_access=false
    sp_cleanup.always_use_this_for_non_static_method_access=false
    sp_cleanup.convert_to_enhanced_for_loop=false
    sp_cleanup.correct_indentation=false
    sp_cleanup.format_source_code=true
    sp_cleanup.format_source_code_changes_only=false
    sp_cleanup.make_local_variable_final=false
    sp_cleanup.make_parameters_final=false
    sp_cleanup.make_private_fields_final=true
    sp_cleanup.make_type_abstract_if_missing_method=false
    sp_cleanup.make_variable_declarations_final=true
    sp_cleanup.never_use_blocks=false
    sp_cleanup.never_use_parentheses_in_expressions=true
    sp_cleanup.on_save_use_additional_actions=false
    sp_cleanup.organize_imports=true
    sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
    sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
    sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
    sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
    sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
    sp_cleanup.remove_private_constructors=true
    sp_cleanup.remove_trailing_whitespaces=false
    sp_cleanup.remove_trailing_whitespaces_all=true
    sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
    sp_cleanup.remove_unnecessary_casts=true
    sp_cleanup.remove_unnecessary_nls_tags=false
    sp_cleanup.remove_unused_imports=false
    sp_cleanup.remove_unused_local_variables=false
    sp_cleanup.remove_unused_private_fields=true
    sp_cleanup.remove_unused_private_members=false
    sp_cleanup.remove_unused_private_methods=true
    sp_cleanup.remove_unused_private_types=true
    sp_cleanup.sort_members=false
    sp_cleanup.sort_members_all=false
    sp_cleanup.use_blocks=false
    sp_cleanup.use_blocks_only_for_return_and_throw=false
    sp_cleanup.use_parentheses_in_expressions=false
    sp_cleanup.use_this_for_non_static_field_access=false
    sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
    sp_cleanup.use_this_for_non_static_method_access=false
    sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
    activeProfiles=
    eclipse.preferences.version=1
    resolveWorkspaceProjects=true
    version=1
    Subproject commit 310d1c04f28f6252d5a02dd8fde1b76ae4a4da51
    eclipse.preferences.version=1
    encoding/<project>=US-ASCII
    eclipse.preferences.version=1
    editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
    formatter_profile=_fortiss
    formatter_settings_version=12
    org.eclipse.jdt.ui.javadoc=true
    org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="false" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/** Returns ${bare_field_name}. */</template><template autoinsert\="false" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/** Sets ${bare_field_name}. */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*-------------------------------------------------------------------------+\n| Copyright ${year} fortiss GmbH |\n| |\n| Licensed under the Apache License, Version 2.0 (the "License"); |\n| you may not use this file except in compliance with the License. |\n| You may obtain a copy of the License at |\n| |\n| http\://www.apache.org/licenses/LICENSE-2.0 |\n| |\n| Unless required by applicable law or agreed to in writing, software |\n| distributed under the License is distributed on an "AS IS" BASIS, |\n| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |\n| See the License for the specific language governing permissions and |\n| limitations under the License. |\n+--------------------------------------------------------------------------*/</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * \n * @author ${user}\n*/</template><template autoinsert\="false" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">\n/** */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/** {@inheritDoc} */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created JavaScript files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\n * \n */</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for vars" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-JSDoc)\n * ${see_to_overridden}\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created function stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated function stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
    sp_cleanup.add_default_serial_version_id=true
    sp_cleanup.add_generated_serial_version_id=false
    sp_cleanup.add_missing_annotations=true
    sp_cleanup.add_missing_deprecated_annotations=true
    sp_cleanup.add_missing_methods=false
    sp_cleanup.add_missing_nls_tags=false
    sp_cleanup.add_missing_override_annotations=true
    sp_cleanup.add_missing_override_annotations_interface_methods=true
    sp_cleanup.add_serial_version_id=false
    sp_cleanup.always_use_blocks=true
    sp_cleanup.always_use_parentheses_in_expressions=false
    sp_cleanup.always_use_this_for_non_static_field_access=false
    sp_cleanup.always_use_this_for_non_static_method_access=false
    sp_cleanup.convert_to_enhanced_for_loop=false
    sp_cleanup.correct_indentation=false
    sp_cleanup.format_source_code=true
    sp_cleanup.format_source_code_changes_only=false
    sp_cleanup.make_local_variable_final=false
    sp_cleanup.make_parameters_final=false
    sp_cleanup.make_private_fields_final=true
    sp_cleanup.make_type_abstract_if_missing_method=false
    sp_cleanup.make_variable_declarations_final=true
    sp_cleanup.never_use_blocks=false
    sp_cleanup.never_use_parentheses_in_expressions=true
    sp_cleanup.on_save_use_additional_actions=false
    sp_cleanup.organize_imports=true
    sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
    sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
    sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
    sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
    sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
    sp_cleanup.remove_private_constructors=true
    sp_cleanup.remove_trailing_whitespaces=false
    sp_cleanup.remove_trailing_whitespaces_all=true
    sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
    sp_cleanup.remove_unnecessary_casts=true
    sp_cleanup.remove_unnecessary_nls_tags=false
    sp_cleanup.remove_unused_imports=false
    sp_cleanup.remove_unused_local_variables=false
    sp_cleanup.remove_unused_private_fields=true
    sp_cleanup.remove_unused_private_members=false
    sp_cleanup.remove_unused_private_methods=true
    sp_cleanup.remove_unused_private_types=true
    sp_cleanup.sort_members=false
    sp_cleanup.sort_members_all=false
    sp_cleanup.use_blocks=false
    sp_cleanup.use_blocks_only_for_return_and_throw=false
    sp_cleanup.use_parentheses_in_expressions=false
    sp_cleanup.use_this_for_non_static_field_access=false
    sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
    sp_cleanup.use_this_for_non_static_method_access=false
    sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
    activeProfiles=
    eclipse.preferences.version=1
    resolveWorkspaceProjects=true
    version=1
    ...@@ -11,9 +11,11 @@ Bundle-RequiredExecutionEnvironment: JavaSE-11 ...@@ -11,9 +11,11 @@ Bundle-RequiredExecutionEnvironment: JavaSE-11
    Bundle-ActivationPolicy: lazy Bundle-ActivationPolicy: lazy
    Bundle-Activator: org.fortiss.tooling.ext.variability.ToolingVariabilityActivator Bundle-Activator: org.fortiss.tooling.ext.variability.ToolingVariabilityActivator
    Require-Bundle: org.fortiss.variability;visibility:=reexport, Require-Bundle: org.fortiss.variability;visibility:=reexport,
    org.fortiss.tooling.base org.fortiss.tooling.base,
    Export-Package: org.fortiss.tooling.ext.variability.model, com.microsoft.z3
    org.fortiss.tooling.ext.variability.service, Export-Package: org.fortiss.tooling.ext.variability.analysis,
    org.fortiss.tooling.ext.variability.util, org.fortiss.tooling.ext.variability.model,
    org.fortiss.tooling.ext.variability.model.impl, org.fortiss.tooling.ext.variability.model.impl,
    org.fortiss.tooling.ext.variability.model.util org.fortiss.tooling.ext.variability.model.util,
    org.fortiss.tooling.ext.variability.service,
    org.fortiss.tooling.ext.variability.util
    OptimizedProductLineAnalysisBase.java 35a40c860cc8a9774a894600935c1ae89a5681a0 GREEN
    OptimizedProductLineTranslation.java 415361dd35a04db219b06a1e40079452d7079b34 GREEN
    /*-------------------------------------------------------------------------+
    | Copyright 2022 fortiss GmbH |
    | |
    | Licensed under the Apache License, Version 2.0 (the "License"); |
    | you may not use this file except in compliance with the License. |
    | You may obtain a copy of the License at |
    | |
    | http://www.apache.org/licenses/LICENSE-2.0 |
    | |
    | Unless required by applicable law or agreed to in writing, software |
    | distributed under the License is distributed on an "AS IS" BASIS, |
    | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
    | See the License for the specific language governing permissions and |
    | limitations under the License. |
    +--------------------------------------------------------------------------*/
    package org.fortiss.tooling.ext.variability.analysis;
    import org.eclipse.emf.ecore.EObject;
    import org.fortiss.variability.analysis.GenericProductLineAnalysis;
    /**
    * Base class for all tooling kernel based product-line analyzes.
    *
    * @author bayha
    */
    public abstract class OptimizedProductLineAnalysisBase extends GenericProductLineAnalysis {
    /** Constructor. */
    public OptimizedProductLineAnalysisBase(EObject model) {
    super(model, new OptimizedProductLineTranslation());
    }
    }
    /*-------------------------------------------------------------------------+
    | Copyright 2023 fortiss GmbH |
    | |
    | Licensed under the Apache License, Version 2.0 (the "License"); |
    | you may not use this file except in compliance with the License. |
    | You may obtain a copy of the License at |
    | |
    | http://www.apache.org/licenses/LICENSE-2.0 |
    | |
    | Unless required by applicable law or agreed to in writing, software |
    | distributed under the License is distributed on an "AS IS" BASIS, |
    | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
    | See the License for the specific language governing permissions and |
    | limitations under the License. |
    +--------------------------------------------------------------------------*/
    package org.fortiss.tooling.ext.variability.analysis;
    import static org.eclipse.emf.ecore.util.EcoreUtil.copy;
    import static org.fortiss.tooling.kernel.utils.EcoreUtils.pickFirstInstanceOf;
    import static org.fortiss.variability.model.VariabilityModelElementFactory.createAndPC;
    import java.util.List;
    import org.eclipse.emf.ecore.EClass;
    import org.eclipse.emf.ecore.EObject;
    import org.fortiss.tooling.base.model.element.IModelElement;
    import org.fortiss.tooling.base.model.element.IModelElementSpecification;
    import org.fortiss.tooling.ext.variability.model.OptionalVariationPointSpecification;
    import org.fortiss.tooling.ext.variability.service.IDependingElementProviderService;
    import org.fortiss.variability.analysis.EMFProductLineTranslation;
    import org.fortiss.variability.model.presence.AndPC;
    import org.fortiss.variability.model.presence.PresenceCondition;
    import org.fortiss.variability.model.presence.PresenceConditionTerm;
    /**
    * Product-line translation with adaptation for different presence condition location in the tooling
    * kernel.
    *
    * @author bayha
    */
    public class OptimizedProductLineTranslation extends EMFProductLineTranslation {
    /** {@inheritDoc} */
    @Override
    protected PresenceConditionTerm getLocalPresenceCondition(EObject model) {
    if(model instanceof IModelElement) {
    List<IModelElementSpecification> specifications =
    ((IModelElement)model).getSpecifications();
    OptionalVariationPointSpecification varSpec =
    pickFirstInstanceOf(OptionalVariationPointSpecification.class, specifications);
    if(varSpec == null) {
    return null;
    }
    PresenceCondition presenceCondition = varSpec.getPresenceCondition();
    if(presenceCondition == null) {
    return null;
    }
    return presenceCondition.resolveToFeatureLiterals();
    }
    return null;
    }
    /** {@inheritDoc} */
    @Override
    protected void collectEObject(EObject eo, EClass cls, PresenceConditionTerm pc) {
    class2TranslatedEObjects.add(cls, eo);
    collectPresenceCondition(eo, pc);
    // Also collect depending elements for the tooling kernel implementation.
    List<EObject> dependingElements =
    IDependingElementProviderService.getInstance().getDependingElements(eo);
    for(EObject depObj : dependingElements) {
    PresenceConditionTerm depObjPC = getLocalPresenceCondition(depObj);
    if(depObjPC != null) {
    depObjPC = createAndPC(copy(depObjPC), copy(pc), "");
    } else {
    depObjPC = pc;
    }
    collectEObject(depObj, getTranslatedClass(depObj.eClass()), depObjPC);
    }
    }
    /**
    * Accumulates the given presence condition by conjugating it. This is necessary in case an
    * element "inherits" more than one presence conditions due to dependencies from other elements.
    */
    private PresenceConditionTerm collectPresenceCondition(EObject eObject,
    PresenceConditionTerm pc) {
    PresenceConditionTerm oldPC = object2presenceCondition.get(eObject);
    if(oldPC != null) {
    if(pc != null) {
    AndPC newPC = createAndPC(copy(oldPC), copy(pc), "");
    object2presenceCondition.put(eObject, newPC);
    return newPC;
    }
    object2presenceCondition.put(eObject, oldPC);
    return oldPC;
    }
    object2presenceCondition.put(eObject, pc);
    return pc;
    }
    }
    VariabilityUtils.java fcaa561bdbe6bd9d6fff4312086a6c97177301f8 GREEN VariabilityUtils.java 2fbc63a2ce3cdc8055c4a25f6b78e19b8208c117 GREEN
    ...@@ -20,6 +20,7 @@ import static org.fortiss.tooling.kernel.utils.EcoreUtils.getFirstChildWithType; ...@@ -20,6 +20,7 @@ import static org.fortiss.tooling.kernel.utils.EcoreUtils.getFirstChildWithType;
    import static org.fortiss.tooling.kernel.utils.EcoreUtils.pickFirstInstanceOf; import static org.fortiss.tooling.kernel.utils.EcoreUtils.pickFirstInstanceOf;
    import static org.fortiss.variability.util.VariabilityUtils.FEATURE_LITERAL_LEGAL_CHAR_REGEX; import static org.fortiss.variability.util.VariabilityUtils.FEATURE_LITERAL_LEGAL_CHAR_REGEX;
    import static org.fortiss.variability.util.VariabilityUtils.PRESENCE_CONDITIONS_KEYWORDS; import static org.fortiss.variability.util.VariabilityUtils.PRESENCE_CONDITIONS_KEYWORDS;
    import static org.fortiss.variability.model.VariabilityModelElementFactory.createAndPC;
    import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EObject;
    import org.fortiss.tooling.base.model.element.IModelElement; import org.fortiss.tooling.base.model.element.IModelElement;
    ...@@ -28,6 +29,7 @@ import org.fortiss.tooling.ext.variability.model.OptionalVariationPointSpecifica ...@@ -28,6 +29,7 @@ import org.fortiss.tooling.ext.variability.model.OptionalVariationPointSpecifica
    import org.fortiss.tooling.kernel.service.ICommandStackService; import org.fortiss.tooling.kernel.service.ICommandStackService;
    import org.fortiss.variability.model.features.AbstractFeatureModel; import org.fortiss.variability.model.features.AbstractFeatureModel;
    import org.fortiss.variability.model.presence.PresenceCondition; import org.fortiss.variability.model.presence.PresenceCondition;
    import org.fortiss.variability.model.presence.PresenceConditionTerm;
    import org.fortiss.variability.presence.compiler.PresenceConditionCompiler; import org.fortiss.variability.presence.compiler.PresenceConditionCompiler;
    /** /**
    ...@@ -95,13 +97,18 @@ public class VariabilityUtils { ...@@ -95,13 +97,18 @@ public class VariabilityUtils {
    * condition. I.e. whether it is actually really optional. * condition. I.e. whether it is actually really optional.
    * *
    * @param elem * @param elem
    * The {@link IModelElement} to be checked. * The {@link EObject} to be checked.
    * *
    * @return 'true' if elem contains a {@link PresenceCondition}, 'false' * @return 'true' if elem contains a {@link PresenceCondition}, 'false'
    * otherwise. * otherwise.
    */ */
    public static boolean hasPresenceCondition(IModelElement elem) { public static boolean hasPresenceCondition(EObject elem) {
    return getPresenceCondition(elem) != null; // Only IModelElements may have PCs
    if(!(elem instanceof IModelElement)) {
    return false;
    }
    return getPresenceCondition((IModelElement)elem) != null;
    } }
    /** /**
    ...@@ -199,4 +206,38 @@ public class VariabilityUtils { ...@@ -199,4 +206,38 @@ public class VariabilityUtils {
    return true; return true;
    } }
    /**
    * Calculates a self contained presence condition of the given {@link EObject} which takes into
    * account all variability of parent objects in the containment hierarchy.
    *
    * @param elem
    * The {@link EObject} object for which to calculate a global
    * {@link PresenceConditionTerm}.
    * @return A {@link PresenceConditionTerm} which expresses the presence condition including
    * constraints of all parents; 'null' if there is no restriction.
    */
    public static PresenceConditionTerm calculateGlobalPresenceCondition(EObject elem) {
    EObject parent = elem.eContainer();
    PresenceConditionTerm parentPC = null;
    if(parent != null) {
    parentPC = calculateGlobalPresenceCondition(parent);
    }
    PresenceConditionTerm rest = null;
    if(hasPresenceCondition(elem)) {
    // Here, DEFAULT literals need to be resolved.
    rest = getPresenceCondition((IModelElement)elem).resolveToFeatureLiterals();
    }
    if(parentPC != null) {
    if(rest != null) {
    return createAndPC(parentPC, rest, "");
    }
    return parentPC;
    }
    return rest;
    }
    } }
    ActionService.java e29126b5947c9fd2f1d82bb87001b9d0ead50c3b GREEN ActionService.java e29126b5947c9fd2f1d82bb87001b9d0ead50c3b GREEN
    ContextMenuService.java 752ecb95721c4ff31583095bdb06b71ef28c4dcf GREEN ContextMenuService.java 752ecb95721c4ff31583095bdb06b71ef28c4dcf GREEN
    MarkerService.java 0bfe2c67638db4e506ea5dc7680765f2a8d632e1 GREEN MarkerService.java 5cc84f9c1e9811100fad92c0abfa934613173c06 GREEN
    ModelEditorBindingService.java f304addb514cd2de443997e0b52cef7a3a9897bf GREEN ModelEditorBindingService.java f304addb514cd2de443997e0b52cef7a3a9897bf GREEN
    ModelElementHandlerService.java 34adeef844bf98c69f1b9a7252f34d0a2b741b54 GREEN ModelElementHandlerService.java 34adeef844bf98c69f1b9a7252f34d0a2b741b54 GREEN
    NavigatorService.java 1d773dde3791ddf7051616fe249558e7e307757d GREEN NavigatorService.java 1d773dde3791ddf7051616fe249558e7e307757d GREEN
    ......
    ...@@ -181,6 +181,16 @@ public class MarkerService implements IMarkerService, IPersistencyServiceListene ...@@ -181,6 +181,16 @@ public class MarkerService implements IMarkerService, IPersistencyServiceListene
    IConstraintCheckerService ccs = IConstraintCheckerService.getInstance(); IConstraintCheckerService ccs = IConstraintCheckerService.getInstance();
    List<IConstraintViolation<? extends EObject>> checkResult = List<IConstraintViolation<? extends EObject>> checkResult =
    ccs.performAllConstraintChecksRecursively(rootModelElement); ccs.performAllConstraintChecksRecursively(rootModelElement);
    ccs.performAllAsynchronousConstraintChecksRecursively(rootModelElement, violations -> {
    synchronized(violationCache) {
    CacheEntry entry = getCacheEntry(element);
    entry.addNewViolations(violations);
    }
    updateUI.schedule();
    });
    synchronized(violationCache) { synchronized(violationCache) {
    CacheEntry entry = getCacheEntry(element); CacheEntry entry = getCacheEntry(element);
    entry.updateCacheEntries(checkResult); entry.updateCacheEntries(checkResult);
    ...@@ -279,6 +289,12 @@ public class MarkerService implements IMarkerService, IPersistencyServiceListene ...@@ -279,6 +289,12 @@ public class MarkerService implements IMarkerService, IPersistencyServiceListene
    updateCacheEntries(List<IConstraintViolation<? extends EObject>> newViolations) { updateCacheEntries(List<IConstraintViolation<? extends EObject>> newViolations) {
    clearCachedLists(); clearCachedLists();
    // update cache entries // update cache entries
    addNewViolations(newViolations);
    }
    /** Add the given violations to the cache entry. */
    public synchronized void
    addNewViolations(List<IConstraintViolation<? extends EObject>> newViolations) {
    for(IConstraintViolation<? extends EObject> violation : newViolations) { for(IConstraintViolation<? extends EObject> violation : newViolations) {
    getCachedList(violation.getSource()).add(violation); getCachedList(violation.getSource()).add(violation);
    } }
    ......
    CommandLineInterfaceService.java 6b5c94c52702f773c60b181eff52204ab379b248 GREEN CommandLineInterfaceService.java 6b5c94c52702f773c60b181eff52204ab379b248 GREEN
    CommandStackService.java 957bda69b5feb91f002aed4d25ed334e92801e7e GREEN CommandStackService.java 957bda69b5feb91f002aed4d25ed334e92801e7e GREEN
    ConnectionCompositorService.java 5a52f8a3e88c167ae6909c3d9eb3fb4706177e8b GREEN ConnectionCompositorService.java 5a52f8a3e88c167ae6909c3d9eb3fb4706177e8b GREEN
    ConstraintCheckerService.java df7b4e8c99e8895e14ff45a96cc85ef8403a8658 GREEN ConstraintCheckerService.java 590cd592008139586f98911ecb675449a5b3c8e1 GREEN
    DummyTopLevelElement.java 21807bbdafec2e0ef28f0ee9090218f90bd73aee GREEN DummyTopLevelElement.java 21807bbdafec2e0ef28f0ee9090218f90bd73aee GREEN
    ElementCompositorService.java b1924b5b349118a70149cfac5b48544897d26e9e GREEN ElementCompositorService.java b1924b5b349118a70149cfac5b48544897d26e9e GREEN
    LoggingService.java da784259f7b456b54bf75c41ec268f64919ce78d GREEN LoggingService.java da784259f7b456b54bf75c41ec268f64919ce78d GREEN
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment