### Question:
JavaFunctionEditorDefinition extends BaseSupplementaryFunctionEditorDefinition { @Override public ExpressionType getType() { return ExpressionType.FUNCTION_JAVA; } JavaFunctionEditorDefinition(); @Inject  JavaFunctionEditorDefinition(final DefinitionUtils definitionUtils,
                                        final SessionManager sessionManager,
                                        final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                                        final @DMNEditor DefaultCanvasCommandFactory canvasCommandFactory,
                                        final Event<ExpressionEditorChanged> editorSelectedEvent,
                                        final Event<RefreshFormPropertiesEvent> refreshFormPropertiesEvent,
                                        final Event<DomainObjectSelectionEvent> domainObjectSelectionEvent,
                                        final ListSelectorView.Presenter listSelector,
                                        final TranslationService translationService,
                                        final @DMNEditor Supplier<ExpressionEditorDefinitions> expressionEditorDefinitionsSupplier,
                                        final @DMNEditor ReadOnlyProvider readOnlyProvider); @Override ExpressionType getType(); @Override String getName(); static final String VARIABLE_CLASS; static final String VARIABLE_METHOD_SIGNATURE; }### Answer:
@Test public void testType() { assertEquals(ExpressionType.FUNCTION_JAVA, definition.getType()); }