Merge remote-tracking branch 'origin/Ghidra_11.4'

This commit is contained in:
ghidra1 2025-05-21 09:06:05 -04:00
commit 2391bdefed
5 changed files with 4 additions and 39 deletions

View file

@ -15,7 +15,6 @@
*/
package ghidra.app.plugin.core.stackeditor;
import java.net.URL;
import java.util.*;
import javax.help.UnsupportedOperationException;
@ -1413,11 +1412,6 @@ class StackFrameDataType implements Structure {
throw new UnsupportedOperationException();
}
@Override
public URL getDocs() {
throw new UnsupportedOperationException();
}
@Override
public Object getValue(MemBuffer buf, Settings settings, int length) {
throw new UnsupportedOperationException();

View file

@ -16,7 +16,6 @@
package ghidra.program.database.data;
import java.io.IOException;
import java.net.URL;
import java.util.Collection;
import org.apache.commons.lang3.StringUtils;
@ -208,11 +207,6 @@ abstract class DataTypeDB extends DatabaseObject implements DataType {
}
}
@Override
public URL getDocs() {
return null;
}
/**
* Set the data in the form of the appropriate Object for this DataType.
*

View file

@ -4,9 +4,9 @@
* 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.
@ -15,7 +15,6 @@
*/
package ghidra.program.model.data;
import java.net.URL;
import java.util.Collection;
import ghidra.docking.settings.Settings;
@ -103,11 +102,6 @@ public abstract class AbstractDataType implements DataType {
return new DataTypePath(getCategoryPath(), getName());
}
@Override
public URL getDocs() {
return null;
}
@Override
public String getName() {
return name;

View file

@ -316,17 +316,6 @@ public interface DataType {
*/
public void setDescription(String description) throws UnsupportedOperationException;
/**
* The getDocs method should provide a URL pointing to extended documentation for this DataType
* if it exists.
* <p>
* A typical use would be to return a URL pointing to the programmers reference for this
* instruction or a page describing this data structure.
*
* @return null - there is no URL documentation for this prototype.
*/
public URL getDocs();
/**
* Returns the interpreted data value as an instance of the
* {@link #getValueClass(Settings) advertised value class}.

View file

@ -4,9 +4,9 @@
* 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.
@ -15,7 +15,6 @@
*/
package ghidra.program.model.data;
import java.net.URL;
import java.util.Collection;
import ghidra.docking.settings.Settings;
@ -154,11 +153,6 @@ public class StubDataType implements DataType {
throw new UnsupportedOperationException();
}
@Override
public URL getDocs() {
throw new UnsupportedOperationException();
}
@Override
public Object getValue(MemBuffer buf, Settings settings, int length) {
throw new UnsupportedOperationException();