Skip to content

Commit

Permalink
[trivial] [style]
Browse files Browse the repository at this point in the history
  • Loading branch information
rzwitserloot committed Jun 28, 2024
1 parent 3b68e39 commit d90ec73
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/lombok/javac/handlers/HandleSuperBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -1103,17 +1103,17 @@ private ListBuffer<JCExpression> getTypeParamExpressions(List<? extends JCTree>
ListBuffer<JCExpression> typeParamsForBuilderParameter = new ListBuffer<JCExpression>();
for (JCTree typeParam : typeParams) {
if (typeParam instanceof JCTypeParameter) {
typeParamsForBuilderParameter.append(maker.Ident(((JCTypeParameter)typeParam).getName()));
typeParamsForBuilderParameter.append(maker.Ident(((JCTypeParameter) typeParam).getName()));
} else if (typeParam instanceof JCIdent) {
typeParamsForBuilderParameter.append(maker.Ident(((JCIdent)typeParam).getName()));
typeParamsForBuilderParameter.append(maker.Ident(((JCIdent) typeParam).getName()));
} else if (typeParam instanceof JCFieldAccess) {
typeParamsForBuilderParameter.append(copySelect(maker, (JCFieldAccess) typeParam));
} else if (typeParam instanceof JCTypeApply) {
typeParamsForBuilderParameter.append(cloneType(maker, (JCTypeApply)typeParam, source));
typeParamsForBuilderParameter.append(cloneType(maker, (JCTypeApply) typeParam, source));
} else if (typeParam instanceof JCArrayTypeTree) {
typeParamsForBuilderParameter.append(cloneType(maker, (JCArrayTypeTree)typeParam, source));
typeParamsForBuilderParameter.append(cloneType(maker, (JCArrayTypeTree) typeParam, source));
} else if (JCAnnotatedTypeReflect.is(typeParam)) {
typeParamsForBuilderParameter.append(cloneType(maker, (JCExpression)typeParam, source));
typeParamsForBuilderParameter.append(cloneType(maker, (JCExpression) typeParam, source));
}
}
return typeParamsForBuilderParameter;
Expand Down

0 comments on commit d90ec73

Please sign in to comment.