org.duelengine.duel.codedom.CodeThisReferenceExpression Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of duel-compiler Show documentation
Show all versions of duel-compiler Show documentation
Dual-side template engine for the JVM
package org.duelengine.duel.codedom;
public class CodeThisReferenceExpression extends CodeExpression {
@Override
public Class> getResultType() {
return Object.class;
}
@Override
public boolean equals(Object arg) {
if (!(arg instanceof CodeThisReferenceExpression)) {
// includes null
return false;
}
return super.equals(arg);
}
}