If it's not mandatory for you implement this in the B2X ARL, You can define in safely XOM like this:
public class ABClass {
public static boolean checkInstance(Object obj) {
return ABClass.class.isInstance(obj);
}
------------------------------
Eduardo Izquierdo Lázaro
Automation Architect
DECIDE
Madrid
609893677
------------------------------
Original Message:
Sent: Fri February 16, 2024 10:59 AM
From: Ahmad Alam
Subject: i would like to compare class object in ARL like ABClass.class.isInstance (this) but this is not compiling
I would like to compare class object in ARL in virtual method like
if (this !=null){
return ABClass.class.isInstance (this);
}
but this is not compiling . Any suggestion
------------------------------
Ahmad Alam
------------------------------