Record Class InvalidJavadocTag
java.lang.Object
java.lang.Record
com.puppycrawl.tools.checkstyle.checks.javadoc.InvalidJavadocTag
- Record Components:
line- the line of the invalid tagcol- the column of the invalid tagname- the name of the invalid tag
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInvalidJavadocTag(int line, int col, String name) Creates an instance of aInvalidJavadocTagrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcol()Returns the value of thecolrecord component.final booleanIndicates whether some other object is "equal to" this one.intgetCol()Legacy getter for col (backward compatibility).intgetLine()Legacy getter for line (backward compatibility).getName()Legacy getter for name (backward compatibility).final inthashCode()Returns a hash code value for this object.intline()Returns the value of thelinerecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
InvalidJavadocTag
-
-
Method Details
-
getLine
public int getLine()Legacy getter for line (backward compatibility). -
getCol
public int getCol()Legacy getter for col (backward compatibility). -
getName
Legacy getter for name (backward compatibility). -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
line
-
col
-
name
-