Annotate interfaces with @FunctionaInterface

Closes gh-6857
This commit is contained in:
Eddú Meléndez
2016-09-09 19:29:15 -05:00
committed by Andy Wilkinson
parent 6d70c061de
commit 3d52c86a21
76 changed files with 76 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ import org.springframework.boot.configurationprocessor.fieldvalues.javac.JavaCom
* @since 1.1.2
* @see JavaCompilerFieldValuesParser
*/
@FunctionalInterface
public interface FieldValuesParser {
/**

View File

@@ -22,6 +22,7 @@ package org.springframework.boot.configurationprocessor.fieldvalues.javac;
* @author Phillip Webb
* @since 1.2.0
*/
@FunctionalInterface
interface TreeVisitor {
void visitVariable(VariableTree variable) throws Exception;