checkBasicProperties

@Contract(value = "null, null -> true; null, !null -> false; !null, null -> false")
open fun <T : AbstractEffect<out Any>?> checkBasicProperties(@Nullable anEffect: T, @Nullable otherEffect: Any): Boolean

The method compares two Effects to check basic properties of visibility, name and class.

Return

true if the Effects have the same name and visibility and are assignable from same class or are both null, false otherwise

Parameters

anEffect

the first effect to check

otherEffect

the other effect to check

<T>

the type of Effect