diff --git a/java/core/_README.md b/java/core/_README.md index 35b908c..94f8081 100644 --- a/java/core/_README.md +++ b/java/core/_README.md @@ -1,9 +1,9 @@ # Java 核心编程 -[](annotation.md ':include') - [](core-java-8.md ':include') [](core-java-11.md ':include') +[](core-java-annotations.md ':include') + [](core-java-strings.md ':include') diff --git a/java/core/annotation.md b/java/core/core-java-annotations.md similarity index 51% rename from java/core/annotation.md rename to java/core/core-java-annotations.md index 90f7104..d082c46 100644 --- a/java/core/annotation.md +++ b/java/core/core-java-annotations.md @@ -3,4 +3,9 @@ Java 注解(Annotation)又称 Java 标注,是 JDK5.0 引入的一种注释 Java 语言中的类、方法、变量、参数和包等都可以被标注。和 Javadoc 不同,Java 标注可以通过反射获取标注内容。在编译器生成类文件时,标注可以被嵌入到字节码中。Java 虚拟机可以保留标注内容,在运行时可以获取到标注内容 。 当然它也支持自定义 Java 标注。 -* [Java @Deprecated Annotation(注解)](https://www.ossez.com/t/java-deprecated-annotation/13676) +- [Java @Override Annotation](https://www.baeldung.com/java-override) +- [Java @SuppressWarnings Annotation](https://www.baeldung.com/java-suppresswarnings) +- [Java @SafeVarargs Annotation](https://www.baeldung.com/java-safevarargs) +- [Java @Deprecated Annotation(注解)](https://www.ossez.com/t/java-deprecated-annotation/13676) +- [Overview of Java Built-in Annotations](https://www.baeldung.com/java-default-annotations) +- [Creating a Custom Annotation in Java](https://www.baeldung.com/java-custom-annotation)