mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8004814: javadoc should be able to detect default methods
Reviewed-by: jjg
This commit is contained in:
parent
c38e124ed5
commit
c5acce4569
4 changed files with 24 additions and 2 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue