All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.newrelic.weave.violation.CLASS_MISSING_REQUIRED_ANNOTATIONS.md Maven / Gradle / Ivy

There is a newer version: 8.17.0
Show newest version
## 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