replace field string list with SelectableExpression list in SelectExpression

This commit is contained in:
wea_ondara
2022-07-14 20:56:17 +02:00
parent da574b52cf
commit 4cf1bfe65c
17 changed files with 157 additions and 45 deletions

View File

@@ -0,0 +1,26 @@
package jef.expressions;
import jef.expressions.selectable.SelectableExpression;
import lombok.Getter;
@Getter
public class IntermediateFieldExpression extends ConstantExpression implements SelectableExpression, Expression {
private final String name;
private final String classDescriptor;
public IntermediateFieldExpression(String name, String classDescriptor) {
super(name);
this.name = name;
this.classDescriptor = classDescriptor;
}
@Override
public Type getType() {
return Type.INTERMEDIATE_FIELD;
}
@Override
public String toString() {
return name;
}
}