Polishing
This commit is contained in:
parent
06658c3c71
commit
0d22569422
|
@ -54,10 +54,10 @@ import org.springframework.util.ObjectUtils;
|
|||
*/
|
||||
public class MethodReference extends SpelNodeImpl {
|
||||
|
||||
private final String name;
|
||||
|
||||
private final boolean nullSafe;
|
||||
|
||||
private final String name;
|
||||
|
||||
@Nullable
|
||||
private String originalPrimitiveExitTypeDescriptor;
|
||||
|
||||
|
@ -72,6 +72,9 @@ public class MethodReference extends SpelNodeImpl {
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the name of the referenced method.
|
||||
*/
|
||||
public final String getName() {
|
||||
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() {
|
||||
return this.nullSafe;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the name of the referenced property or field.
|
||||
*/
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue