Skip to content

Instantly share code, notes, and snippets.

@lukaseder
Created July 7, 2016 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaseder/2ce805982d912ffd6991fdd98c93d60f to your computer and use it in GitHub Desktop.
Save lukaseder/2ce805982d912ffd6991fdd98c93d60f to your computer and use it in GitHub Desktop.
Undenotable types
public class Undenotable {
private interface Secret {}
public <T extends Integer & Secret> T m1() {
return null;
}
public void m2() {
m1();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment