Skip to content

Commit

Permalink
add javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Luro02 committed May 9, 2024
1 parent b71cd8a commit d96b88e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/spoon/reflect/factory/CodeFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,8 @@ public <A extends Annotation> CtAnnotation<A> createAnnotation(CtTypeReference<A
/**
* Creates a return statement.
*
* @param expression
* The expression to be returned.
* @param expression the expression to be returned.
* @param <T> the type of the expression
* @return a return.
*/
public <T> CtReturn<T> createCtReturn(CtExpression<T> expression) {
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/spoon/reflect/factory/Factory.java
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ public interface Factory {
<T> CtLocalVariableReference<T> createLocalVariableReference(CtLocalVariable<T> localVariable);

/**
* @param expression the expression to return
* @param <T> the type of the expression
* @return a return statement
* @see CodeFactory#createCtReturn(CtExpression)
*/
<T> CtReturn<T> createCtReturn(CtExpression<T> expression);
Expand Down

0 comments on commit d96b88e

Please sign in to comment.