blob: d28a49d8cf083a93063265022fbd4e17262330e2 [file] [log] [blame]
/*=============================================================================#
# Copyright (c) 2016, 2019 Stephan Wahlbrink and others.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
# Stephan Wahlbrink <sw@wahlbrink.eu> - initial API and implementation
#=============================================================================*/
package org.eclipse.statet.r.debug.core;
import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.model.IVariable;
import org.eclipse.statet.jcommons.lang.NonNullByDefault;
import org.eclipse.statet.jcommons.lang.Nullable;
@NonNullByDefault
public interface IRVariable extends IVariable {
@Override
IRDebugTarget getDebugTarget();
@Nullable IRVariable getParent();
@Override
String getName();
@Override
String getReferenceTypeName() throws DebugException;
@Override
IRValue getValue() throws DebugException;
@Override
boolean supportsValueModification();
@Override
boolean verifyValue(String expression) throws DebugException;
@Override
void setValue(String expression) throws DebugException;
@Override
<T> @Nullable T getAdapter(final Class<T> type);
}