I'm trying to use a java.lang.function.Function
in my java 8 code base, but i keep getting the following error in Intellij.
Usage of API documented as @since 1.6+ This inspection finds all
usages of methods that have @since tag in their documentation. This
may be useful when development is performed under newer SDK version as
the target platform for production
I seem to have the correct Project and Compiler settings
Project Settings: (File -> Project Structure)
Project Settings -> Project -> Project SDK = Java 1.8
Project Settings -> Project -> Project Language Level = 8 - Lambdas, Type Annotations etc
Compiler Settings: (File -> Settings)
Build, Execution, Deployment -> Compiler -> Java Compiler -> Project Bytecode Version : 1.8
Build, Execution, Deployment -> Compiler -> Java Compiler -> Per module Bytecode Version -> Target Bytecode Version : 1.8
What is the problem?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…