summaryrefslogtreecommitdiffstats
path: root/tests/bugs162/pr240693/PayloadClass.java
blob: f25e2e3ae6531e835ca57d5046d21dd917481f84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public class PayloadClass<Type extends Object> {
 private Type payload;

 public void setPayload(Type payload) {
  this.payload = payload;
 }

 public Type getPayload() {
  return this.payload;
 }

 public void run() {
  System.out.println("payload class run");
 }
}