com.newrelic.weave.violation.METHOD_NEW_ABSTRACT_UNSUPPORTED.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.
## METHOD_NEW_ABSTRACT_UNSUPPORTED ##
###Description###
This violation was raised because the @Weave class is attempting to define a new abstract method.
###Example###
####Original Class####
```
public class Example {
public String exampleMethod() {
return "example";
}
}
```
####Bad####
```
@Weave
public abstract class Example {
public abstract String newAbstractMethod(); // Causes violation
}
```
© 2015 - 2024 Weber Informatics LLC | Privacy Policy