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

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

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

###Description###

This violation was raised because the @Weave class is an Exact match but it is attempting to match on an abstract method.

###Example###

####Original Class####
```
public abstract class Example {

    public abstract String abstractMethod();

}
```


####Bad####
```
@Weave
public class Example {

    public String abstractMethod() {
        
    }

}
```

----------

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

    public String abstractMethod() {
        
    }

}
```




© 2015 - 2024 Weber Informatics LLC | Privacy Policy