Skip to content

Commit

Permalink
[GR-60340] Change StandardGraphBuilder members access control
Browse files Browse the repository at this point in the history
PullRequest: graal/19644
  • Loading branch information
atrib committed Feb 10, 2025
2 parents 2e222f1 + 6a7191f commit 3819778
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public static void registerInvocationPlugins(SnippetReflectionProvider snippetRe
}

public static final Field STRING_VALUE_FIELD;
private static final Field STRING_CODER_FIELD;
public static final Field STRING_CODER_FIELD;

static {
Field coder = null;
Expand Down Expand Up @@ -450,6 +450,10 @@ public ArrayEqualsInvocationPlugin(JavaKind kind, Type... argumentTypes) {
this.kind = kind;
}

public JavaKind getKind() {
return kind;
}

@SuppressWarnings("try")
@Override
public boolean apply(GraphBuilderContext b, ResolvedJavaMethod targetMethod, Receiver receiver, ValueNode arg1, ValueNode arg2) {
Expand All @@ -474,9 +478,9 @@ public boolean apply(GraphBuilderContext b, ResolvedJavaMethod targetMethod, Rec
}
}

static class StringEqualsInvocationPlugin extends InvocationPlugin {
public static class StringEqualsInvocationPlugin extends InvocationPlugin {

StringEqualsInvocationPlugin() {
public StringEqualsInvocationPlugin() {
super("equals", Receiver.class, Object.class);
}

Expand Down

0 comments on commit 3819778

Please sign in to comment.