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

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

There is a newer version: 8.17.0
Show newest version
## CLASS_WEAVE_IS_INTERFACE ##

###Description###

This violation was raised because an @Weave annotation was found on the interface listed in the violation. @Weave annotations can only be applied to classes, not to interfaces.

###Example###

####Bad####
```
@Weave(type = MatchType.Interface)
public interface Example {

}
```

----------

####Good####
```
@Weave(type = MatchType.Interface)
public class Example {

}
```




© 2015 - 2024 Weber Informatics LLC | Privacy Policy