Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Sep 27, 2023
1 parent 06658c3 commit 0d22569
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
*/
public class MethodReference extends SpelNodeImpl {

private final String name;

private final boolean nullSafe;

private final String name;

@Nullable
private String originalPrimitiveExitTypeDescriptor;

Expand All @@ -72,6 +72,9 @@ public MethodReference(boolean nullSafe, String methodName, int startPos, int en
}


/**
* Get the name of the referenced method.
*/
public final String getName() {
return this.name;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,16 @@ public PropertyOrFieldReference(boolean nullSafe, String propertyOrFieldName, in
}


/**
* 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;
}
Expand Down

0 comments on commit 0d22569

Please sign in to comment.