Record Class FilteredPointerKey.SingleClassFilter
java.lang.Object
java.lang.Record
com.ibm.wala.ipa.callgraph.propagation.FilteredPointerKey.SingleClassFilter
- All Implemented Interfaces:
ContextItem, FilteredPointerKey.TypeFilter
- Enclosing interface:
FilteredPointerKey
public static record FilteredPointerKey.SingleClassFilter(IClass concreteType)
extends Record
implements FilteredPointerKey.TypeFilter
-
Nested Class Summary
Nested classes/interfaces inherited from interface ContextItem
ContextItem.Value<T> -
Constructor Summary
ConstructorsConstructorDescriptionSingleClassFilter(IClass concreteType) Creates an instance of aSingleClassFilterrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddFiltered(PropagationSystem system, PointsToSetVariable L, PointsToSetVariable R) booleanReturns the value of theconcreteTyperecord component.final booleanIndicates whether some other object is "equal to" this one.Deprecated, for removal: This API element is subject to removal in a future version.final inthashCode()Returns a hash code value for this object.booleantoString()Returns a string representation of this record class.
-
Constructor Details
-
SingleClassFilter
Creates an instance of aSingleClassFilterrecord class.- Parameters:
concreteType- the value for theconcreteTyperecord component
-
-
Method Details
-
toString
-
getConcreteType
Deprecated, for removal: This API element is subject to removal in a future version.UseconcreteType()instead -
addFiltered
- Specified by:
addFilteredin interfaceFilteredPointerKey.TypeFilter
-
addInverseFiltered
public boolean addInverseFiltered(PropagationSystem system, PointsToSetVariable L, PointsToSetVariable R) - Specified by:
addInverseFilteredin interfaceFilteredPointerKey.TypeFilter
-
isRootFilter
public boolean isRootFilter()- Specified by:
isRootFilterin interfaceFilteredPointerKey.TypeFilter
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
concreteType
Returns the value of theconcreteTyperecord component.- Returns:
- the value of the
concreteTyperecord component
-
concreteType()instead