GP-0: Refer to static field by class, not derivative.

This commit is contained in:
Dan 2023-11-20 12:42:07 -05:00
parent 80d92aa32f
commit 763463269b

View File

@ -30,19 +30,30 @@ import ghidra.dbg.target.schema.TargetObjectSchemaInfo;
import ghidra.dbg.util.PathUtils;
import ghidra.util.datastruct.ListenerSet;
@TargetObjectSchemaInfo(name = "BreakpointSpec", attributes = { //
@TargetAttributeType( //
name = TargetBreakpointSpec.CONTAINER_ATTRIBUTE_NAME, //
type = DbgModelTargetBreakpointContainerImpl.class), //
@TargetAttributeType( //
name = TargetBreakpointLocation.SPEC_ATTRIBUTE_NAME, //
type = DbgModelTargetBreakpointSpecImpl.class), //
@TargetAttributeType(name = DbgModelTargetBreakpointSpecImpl.BPT_TYPE_ATTRIBUTE_NAME, type = String.class), //
@TargetAttributeType(name = DbgModelTargetBreakpointSpecImpl.BPT_DISP_ATTRIBUTE_NAME, type = String.class), //
@TargetAttributeType(name = DbgModelTargetBreakpointSpecImpl.BPT_PENDING_ATTRIBUTE_NAME, type = String.class), //
@TargetAttributeType(name = DbgModelTargetBreakpointSpecImpl.BPT_TIMES_ATTRIBUTE_NAME, type = Integer.class), //
@TargetAttributeType(type = Void.class) //
}, canonicalContainer = true)
@TargetObjectSchemaInfo(
name = "BreakpointSpec",
attributes = {
@TargetAttributeType(
name = TargetBreakpointSpec.CONTAINER_ATTRIBUTE_NAME,
type = DbgModelTargetBreakpointContainerImpl.class),
@TargetAttributeType(
name = TargetBreakpointLocation.SPEC_ATTRIBUTE_NAME,
type = DbgModelTargetBreakpointSpecImpl.class),
@TargetAttributeType(
name = DbgModelTargetBreakpointSpec.BPT_TYPE_ATTRIBUTE_NAME,
type = String.class),
@TargetAttributeType(
name = DbgModelTargetBreakpointSpec.BPT_DISP_ATTRIBUTE_NAME,
type = String.class),
@TargetAttributeType(
name = DbgModelTargetBreakpointSpec.BPT_PENDING_ATTRIBUTE_NAME,
type = String.class),
@TargetAttributeType(
name = DbgModelTargetBreakpointSpec.BPT_TIMES_ATTRIBUTE_NAME,
type = Integer.class),
@TargetAttributeType(type = Void.class) //
},
canonicalContainer = true)
public class DbgModelTargetBreakpointSpecImpl extends DbgModelTargetObjectImpl
implements DbgModelTargetBreakpointSpec {