Skip to content

Commit

Permalink
Added getter for rewrite-compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesRabauer committed Jan 29, 2024
1 parent 03364bd commit 86595ee
Showing 1 changed file with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public class AddAnnotationToOtherAnnotation extends Recipe

@Option(displayName = "Class path",
description = "Class path that needs to be added for the new annotation. Can be empty.",
example = "spring-data-eclipse-store")
example = "spring-data-eclipse-store",
required = false)
String classPath;

@Option(displayName = "Simple name of annotation type to add",
Expand Down Expand Up @@ -128,4 +129,24 @@ public J.ClassDeclaration visitClassDeclaration(
}
};
}

public String getExistingAnnotationType()
{
return this.existingAnnotationType;
}

public String getAnnotationTypeToAdd()
{
return this.annotationTypeToAdd;
}

public String getClassPath()
{
return this.classPath;
}

public String getAnnotationTypeToAddSimpleName()
{
return this.annotationTypeToAddSimpleName;
}
}

0 comments on commit 86595ee

Please sign in to comment.