Files
lombok/test/transform/resource/after-ecj/SneakyThrowsPlain.java
T
Reinier Zwitserloot d78135180c [deps] Updated eclipse deps to 3.9 tree. This also enables testing java7 features on ecj.
[Log] updated naming for @Log (topic= instead of mchmulder's 'value').
2014-02-10 21:56:35 +01:00

46 lines
951 B
Java

import lombok.SneakyThrows;
class SneakyThrowsPlain {
@lombok.SneakyThrows SneakyThrowsPlain() {
super();
try
{
System.out.println("constructor");
}
catch (final java.lang.Throwable $ex)
{
throw lombok.Lombok.sneakyThrow($ex);
}
}
@lombok.SneakyThrows SneakyThrowsPlain(int x) {
this();
try
{
System.out.println("constructor2");
}
catch (final java.lang.Throwable $ex)
{
throw lombok.Lombok.sneakyThrow($ex);
}
}
public @lombok.SneakyThrows void test() {
try
{
System.out.println("test1");
}
catch (final java.lang.Throwable $ex)
{
throw lombok.Lombok.sneakyThrow($ex);
}
}
public @SneakyThrows void test2() {
try
{
System.out.println("test2");
}
catch (final java.lang.Throwable $ex)
{
throw lombok.Lombok.sneakyThrow($ex);
}
}
}