Package org.djunits.cleanup
Class ParamComments
- java.lang.Object
-
- org.djunits.cleanup.ParamComments
-
public class ParamComments extends Object
Utility to add or update the type foe each parameter in the javadoc of all java files in /src/main/java in all or in selected projects in the workspace. Run this utility only from Eclipse!
Copyright (c) 2003-2022 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.- Author:
- Alexander Verbraeck
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classParamComments.CodeVisitorSimple visitor implementation for visiting MethodDeclaration and ConstructorDeclaration nodes.
-
Constructor Summary
Constructors Constructor Description ParamComments()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getLines()booleanisChanged()static voidmain(String[] args)voidsetChanged(boolean changed)
-
-
-
Constructor Detail
-
ParamComments
public ParamComments() throws IOException, URISyntaxException- Throws:
IOException- on I/O errorURISyntaxException- on I/O error
-
-
Method Detail
-
main
public static void main(String[] args) throws IOException, URISyntaxException
- Parameters:
args- String[]; none- Throws:
IOException- on I/O errorURISyntaxException- on I/O error
-
isChanged
public final boolean isChanged()
- Returns:
- changed
-
setChanged
public final void setChanged(boolean changed)
- Parameters:
changed- boolean; set changed
-
-