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

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

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

###Description###

This violation was raised because the field access level specified in the @Weave class does not match the field access level from the original class.

###Example###

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

    private String privateExample;

}
```


####Bad####
```
@Weave
public class Example {
    
    public String privateExample;

}
```

----------

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

    private String privateExample;

}
```




© 2015 - 2024 Weber Informatics LLC | Privacy Policy