Files
lombok/test/transform/resource/before/LoggerSlf4j.java
T
Reinier Zwitserloot c10fe50f6a [tests] removed a ridiculously exotic feature that still works, but is too hard to test
Specifically, using as custom logger topic a concatenated string, like literally `"A" + "B"`. It works,
but depending on javac and phase of the moon that ends up as `"A" + "B"` or `"AB"`, and I don't
think it's worthwhile for lombok to try to be consistent in this and test for that.
2020-09-18 01:01:41 +02:00

31 lines
591 B
Java

import lombok.extern.slf4j.Slf4j;
@lombok.extern.slf4j.Slf4j
class LoggerSlf4j {
}
@Slf4j
class LoggerSlf4jWithImport {
}
class LoggerSlf4jOuter {
@lombok.extern.slf4j.Slf4j
static class Inner {
}
}
@Slf4j(topic="DifferentLogger")
class LoggerSlf4jWithDifferentLoggerName {
}
@Slf4j(topic=LoggerSlf4jWithStaticField.TOPIC)
class LoggerSlf4jWithStaticField {
static final String TOPIC = "StaticField";
}
@Slf4j(topic=LoggerSlf4jWithTwoStaticFields.TOPIC + LoggerSlf4jWithTwoStaticFields.TOPIC)
class LoggerSlf4jWithTwoStaticFields {
static final String TOPIC = "StaticField";
}