8004814: javadoc should be able to detect default methods

Reviewed-by: jjg
This commit is contained in:
Maurizio Cimadamore 2012-12-17 14:54:42 +00:00 committed by Vicente Romero
parent c38e124ed5
commit c5acce4569
4 changed files with 24 additions and 2 deletions

View file

@ -276,6 +276,10 @@ public class ClassDocImpl extends ProgramElementDocImpl implements ClassDoc {
return false;
}
public boolean isFunctionalInterface() {
return env.types.isFunctionalInterface(tsym);
}
/**
* Return the package that this class is contained in.
*/