Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* Provides Spring Integration Groovy DSL.
*/
@org.jspecify.annotations.NullMarked
package org.springframework.integration.groovy.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import groovy.transform.CompileStatic;
import org.codehaus.groovy.control.CompilerConfiguration;
import org.codehaus.groovy.control.customizers.ASTTransformationCustomizer;
import org.jspecify.annotations.Nullable;

import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.BeanFactory;
Expand Down Expand Up @@ -75,8 +76,9 @@ public class GroovyScriptExecutingMessageProcessor extends AbstractScriptExecuti

private boolean compileStatic;

private CompilerConfiguration compilerConfiguration;
private @Nullable CompilerConfiguration compilerConfiguration;

@SuppressWarnings("NullAway.Init")
private volatile Class<?> scriptClass;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import groovy.lang.Binding;
import groovy.lang.GroovyObject;
import groovy.lang.Script;
import org.jspecify.annotations.Nullable;

import org.springframework.scripting.groovy.GroovyObjectCustomizer;
import org.springframework.util.Assert;
Expand All @@ -33,9 +34,9 @@
*/
class VariableBindingGroovyObjectCustomizerDecorator implements GroovyObjectCustomizer {

private volatile Map<String, ?> variables;
private volatile @Nullable Map<String, ?> variables;

private volatile GroovyObjectCustomizer customizer;
private volatile @Nullable GroovyObjectCustomizer customizer;

public void setVariables(Map<String, ?> variables) {
this.variables = variables;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* Provides classes for configuration - parsers, namespace handlers, factory beans.
*/
@org.jspecify.annotations.NullMarked
package org.springframework.integration.groovy.config;
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**
* Base package for Groovy support.
*/
@org.jspecify.annotations.NullMarked
package org.springframework.integration.groovy;