Skip to content

Commit 1315e54

Browse files
committed
house keeping
1 parent c94c440 commit 1315e54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jmolecules-bytebuddy/src/main/java/org/jmolecules/bytebuddy/VaadooImplementor.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
import static java.util.stream.IntStream.range;
2222
import static net.bytebuddy.jar.asm.ClassWriter.COMPUTE_FRAMES;
2323
import static net.bytebuddy.jar.asm.ClassWriter.COMPUTE_MAXS;
24+
import static net.bytebuddy.jar.asm.Opcodes.ACC_PRIVATE;
25+
import static net.bytebuddy.jar.asm.Opcodes.ACC_STATIC;
2426
import static net.bytebuddy.matcher.ElementMatchers.is;
2527
import static net.bytebuddy.matcher.ElementMatchers.named;
2628
import static org.jmolecules.bytebuddy.PluginUtils.markGenerated;
@@ -236,7 +238,7 @@ private Builder<?> addStaticValidationMethod(Builder<?> builder, String validate
236238
Log log) {
237239
log.info("Implementing static validate method #{}.", validateMethodName);
238240
return markGenerated(wrap(builder, COMPUTE_FRAMES | COMPUTE_MAXS)
239-
.defineMethod(validateMethodName, void.class, Opcodes.ACC_PRIVATE | Opcodes.ACC_STATIC)
241+
.defineMethod(validateMethodName, void.class, ACC_PRIVATE | ACC_STATIC)
240242
.withParameters(parameters.types()).intercept( //
241243
new Implementation.Simple(
242244
new StaticValidateAppender(parameters, validateMethodName, FRAGMENT_CLASS))));

0 commit comments

Comments
 (0)