Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix version compatibility issues #44

Merged
merged 1 commit into from Jan 3, 2022

Conversation

wuwen5
Copy link
Contributor

@wuwen5 wuwen5 commented Apr 29, 2021

The default value should be false to keep compatibility with the previous version.

image

apache/dubbo#7274

@wuwen5
Copy link
Contributor Author

wuwen5 commented May 21, 2021

@mercyblitz

@wuwen5
Copy link
Contributor Author

wuwen5 commented Jul 16, 2021

/**
* Retrieve the given annotation's attributes as an {@link AnnotationAttributes} map.
* <p>Equivalent to calling {@link #getAnnotationAttributes(AnnotatedElement, Annotation, boolean, boolean)}
* with the {@code classValuesAsString} and {@code nestedAnnotationsAsMap} parameters
* set to {@code false}.
* @param annotatedElement the element that is annotated with the supplied annotation;
* may be {@code null} if unknown
* @param annotation the annotation to retrieve the attributes for
* @return the annotation attributes (a specialized Map) with attribute names as keys
* and corresponding attribute values as values (never {@code null})
* @since 4.2
* @see #getAnnotationAttributes(AnnotatedElement, Annotation, boolean, boolean)
*/
public static AnnotationAttributes getAnnotationAttributes(
    @Nullable AnnotatedElement annotatedElement, Annotation annotation) {

    return getAnnotationAttributes(annotatedElement, annotation, false, false);
}

@wuwen5
Copy link
Contributor Author

wuwen5 commented Dec 17, 2021

@mercyblitz mercyblitz merged commit 184df1c into alibaba:master Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants