Files
lombok/test/transform/resource/after-delombok/LoggerCustomAccess.java
T
Reinier Zwitserloot f49f0fe78d [test] Remove tests for deprecated @Logger(access = MODULE). They're deprecated:
Dealing with suppress warnings when trying to compare output of a delombok process is hard enough as is.
If someone somehow uses MODULE, the code will probably work, the deprecation warning tells you to cut it out,
and if it breaks, I'm sure somebody will report a bug and we'll fix it maybe one fine day.
2026-02-05 23:48:44 +01:00

36 lines
905 B
Java

import lombok.AccessLevel;
class LoggerCustomAccessPublic {
@java.lang.SuppressWarnings("all")
@lombok.Generated
public static final MyLogger log = MyLoggerFactory.create(LoggerCustomAccessPublic.class);
}
class LoggerCustomAccessProtected {
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected static final MyLogger log = MyLoggerFactory.create(LoggerCustomAccessProtected.class);
}
class LoggerCustomAccessPackage {
@java.lang.SuppressWarnings("all")
@lombok.Generated
static final MyLogger log = MyLoggerFactory.create(LoggerCustomAccessPackage.class);
}
class LoggerCustomAccessPrivate {
@java.lang.SuppressWarnings("all")
@lombok.Generated
private static final MyLogger log = MyLoggerFactory.create(LoggerCustomAccessPrivate.class);
}
class LoggerCustomAccessNone {
}
class MyLoggerFactory {
static MyLogger create(Class<?> clazz) {
return null;
}
}
class MyLogger {
}