javassist icon indicating copy to clipboard operation
javassist copied to clipboard

[source error] boolean expr is required

Open Antares-EU opened this issue 3 years ago • 0 comments

I get this error when i try to create a new method with CtNewMethod.make() when the method contains an "if" statement with booleans from another class, i'm importing all the packages from the class that contains the method to the ClassPool but this error remains even if i fixed all the others that i had before

Should i import something else ?

I would be very happy if someone could help me with that

Antares-EU avatar Jan 14 '21 16:01 Antares-EU