What is the purpose of @param annotation in Java code?

/** *@param context *@param attrs */ Public DotView(Context context, Attribute attrs) { super(context, attrs); setFocusAbleInTouch(true); } 

Does @param use any purpose. I saw this code in an Android programming book, but the author did not explain what @param means. I know this is inside a double-line comment, so I assume that @param does nothing for the result, and it is available for readability. Right or wrong?

+7
source share
1 answer

Does @param use any purpose

This is part of the JavaDocs documentation system .

+9
source

All Articles