1.1 --- a/src/share/classes/com/sun/javadoc/ClassDoc.java Sun Dec 16 22:10:52 2012 -0800 1.2 +++ b/src/share/classes/com/sun/javadoc/ClassDoc.java Mon Dec 17 14:54:42 2012 +0000 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1998, 2006, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -66,6 +66,12 @@ 1.11 boolean isExternalizable(); 1.12 1.13 /** 1.14 + * Return true if this class can be used as a target type of a lambda expression 1.15 + * or method reference. 1.16 + */ 1.17 + boolean isFunctionalInterface(); 1.18 + 1.19 + /** 1.20 * Return the serialization methods for this class or 1.21 * interface. 1.22 *