Fix "@param" tags whose name doesn't match the parameter name

This commit is contained in:
Ben Liblit 2017-03-22 19:57:33 -05:00
parent 7a198b0968
commit 780804e159
4 changed files with 4 additions and 4 deletions

View File

@ -1899,7 +1899,7 @@ public abstract class JDTJava2CAstTranslator<T extends Position> {
* exception. maybe handle this in here as a special case? i don't know... or check if targetNode is THIS, that should even work
* for this.x = 5 and (this).x = 5
*
* @param target Used to evaluate the field access. In the case of static field accesses, this is included in the first part of a
* @param targetNode Used to evaluate the field access. In the case of static field accesses, this is included in the first part of a
* block -- thus it is evaluated for any side effects but thrown away.
* @param fieldName Name of the field.
* @param fieldBinding This is used to determine the field's class.

View File

@ -192,7 +192,7 @@ public class SSAValueManager {
* Register a Phi-Instruction _after_ added to the model.
*
* @param type the type the Phi-Instruction sets
* @param ssaValue the number the SSA-Instruction assigns to
* @param value the number the SSA-Instruction assigns to
* @param setBy the Phi-Instruction itself - may be null
* @throws IllegalArgumentException if you assign to a number requested using
* {@link #getFree} but types mismatch.

View File

@ -385,7 +385,7 @@ public class FlatInstantiator implements IInstantiator {
*
* @param self the "this" to call the constructor on
* @param ctor the constructor to call
* @param params parameters to the ctor _without_ implicit this
* @param ctorParams parameters to the ctor _without_ implicit this
*/
protected void addCallCtor(SSAValue self, MethodReference ctor, List<SSAValue> ctorParams) {
final int pc = this.body.getNextProgramCounter();

View File

@ -386,7 +386,7 @@ public class Instantiator implements IInstantiator {
*
* @param self the "this" to call the constructor on
* @param ctor the constructor to call
* @param params parameters to the ctor _without_ implicit this
* @param ctorParams parameters to the ctor _without_ implicit this
*/
private void addCallCtor(SSAValue self, MethodReference ctor, List<SSAValue> ctorParams) {
final int pc = this.body.getNextProgramCounter();