What does the @ sign means in java?

后端 未结 4 805
执念已碎
执念已碎 2020-12-09 01:04

Below is the code snippet.

@Intercepts({@Signature(
type= Executor.class,
method = \"update\",
args = {MappedStatement.class,Object.class})})
public class
<         


        
4条回答
  •  被撕碎了的回忆
    2020-12-09 01:38

    It's an annotation.

    Here's more information on it: http://www.alden-java-hosting.com/JAVA-tutorial/java/javaOO/annotations.html

    Here are Oracle's docs since it looks like the other link is down: http://docs.oracle.com/javase/tutorial/java/annotations/

提交回复
热议问题