Class UnsupportedMapDB

java.lang.Object
ghidra.program.database.properties.PropertyMapDB<Object>
ghidra.program.database.properties.UnsupportedMapDB
All Implemented Interfaces:
PropertyMap<Object>

public class UnsupportedMapDB extends PropertyMapDB<Object>
This class provides a dummy map for an unsupported map.
  • Method Details

    • getValueClass

      public Class<Object> getValueClass()
      Description copied from interface: PropertyMap
      Returns property value class.
      Returns:
      property value class or null for an unsupported map type
    • get

      public Object get(Address addr)
      Description copied from interface: PropertyMap
      Returns the property value stored at the specified address or null if no property found.
      Parameters:
      addr - property address
      Returns:
      property value
    • hasProperty

      public boolean hasProperty(Address addr)
      Description copied from interface: PropertyMap
      returns whether there is a property value at addr.
      Specified by:
      hasProperty in interface PropertyMap<Object>
      Overrides:
      hasProperty in class PropertyMapDB<Object>
      Parameters:
      addr - the address in question
      Returns:
      true if map has value at specified address
    • add

      public void add(Address addr, Object value)
      Description copied from interface: PropertyMap
      Add a map-specific value type to the specified address
      Parameters:
      addr - property address
      value - property value or null (null remove value at address)