Skip to content

Commit

Permalink
Update example to have synthetics when compiled
Browse files Browse the repository at this point in the history
i.e. @debuglog annotated inner class has a private method
  • Loading branch information
faradaj committed Jan 5, 2016
1 parent 63647a8 commit 4b5d34a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions hugo-example/src/main/java/com/example/hugo/HugoActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,15 @@ private void sleepyMethod(long milliseconds) {
}, "I'm a lazy thr.. bah! whatever!").start();
}

@DebugLog
static class Greeter {
private final String name;

@DebugLog
Greeter(String name) {
this.name = name;
}

@DebugLog
public String sayHello() {
private String sayHello() {
return "Hello, " + name;
}
}
Expand Down

0 comments on commit 4b5d34a

Please sign in to comment.