com.newrelic.weave.violation.CLASS_MISSING_REQUIRED_ANNOTATIONS.md Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of newrelic-weaver Show documentation
Show all versions of newrelic-weaver Show documentation
The Weaver of the Java agent.
## CLASS_MISSING_REQUIRED_ANNOTATIONS ##
###Description###
This violation was raised because the annotations specified in @WeaveWithAnnotations weave class are missing in the original class.
###Example###
####Original Class####
```
@com.example.Annotation
public class Example {
}
```
####Bad####
```
@WeaveWithAnnotation(annotationClasses = "com.example.OtherAnnotation")
public class Example {
}
```
----------
####Good####
```
@WeaveWithAnnotation(annotationClasses = "com.example.Annotation")
public class Example {
}
```
© 2015 - 2024 Weber Informatics LLC | Privacy Policy