Polishing
This commit is contained in:
parent
06658c3c71
commit
0d22569422
|
@ -54,10 +54,10 @@ import org.springframework.util.ObjectUtils;
|
||||||
*/
|
*/
|
||||||
public class MethodReference extends SpelNodeImpl {
|
public class MethodReference extends SpelNodeImpl {
|
||||||
|
|
||||||
private final String name;
|
|
||||||
|
|
||||||
private final boolean nullSafe;
|
private final boolean nullSafe;
|
||||||
|
|
||||||
|
private final String name;
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
private String originalPrimitiveExitTypeDescriptor;
|
private String originalPrimitiveExitTypeDescriptor;
|
||||||
|
|
||||||
|
@ -72,6 +72,9 @@ public class MethodReference extends SpelNodeImpl {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the name of the referenced method.
|
||||||
|
*/
|
||||||
public final String getName() {
|
public final String getName() {
|
||||||
return this.name;
|
return this.name;
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,10 +73,16 @@ public class PropertyOrFieldReference extends SpelNodeImpl {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Does this node represent a null-safe property or field reference?
|
||||||
|
*/
|
||||||
public boolean isNullSafe() {
|
public boolean isNullSafe() {
|
||||||
return this.nullSafe;
|
return this.nullSafe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the name of the referenced property or field.
|
||||||
|
*/
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return this.name;
|
return this.name;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue