Class AnnotationDeserializer
java.lang.Object
org.openrewrite.java.internal.parser.AnnotationDeserializer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseAnnotation(String annotationStr) Parses a serialized annotation string.parseAnnotations(String annotationsStr) Parses multiple annotations from a string that may contain: - Multiple annotations separated by pipes (backward compatibility) - Multiple annotations concatenated without delimiters (new format) - Single annotationstatic ObjectparseValue(String value) Determines the type of a serialized value and returns it in the appropriate format.
-
Constructor Details
-
AnnotationDeserializer
public AnnotationDeserializer()
-
-
Method Details
-
parseAnnotation
Parses a serialized annotation string. -
parseAnnotations
Parses multiple annotations from a string that may contain: - Multiple annotations separated by pipes (backward compatibility) - Multiple annotations concatenated without delimiters (new format) - Single annotation- Parameters:
annotationsStr- The serialized annotations string- Returns:
- List of parsed annotation info objects
-
parseValue
Determines the type of a serialized value and returns it in the appropriate format. This is a public API method that creates a new parser for the complete value string.
-