Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/beanshell/beanshell
/ setAccessible
Method
setAccessible
src/bsh/Reflect.java:898–902 ·
view source on GitHub ↗
(final Field field)
Source
from the content-addressed store, hash-verified
896
897
898
static
void
setAccessible(
final
Field field) {
899
if
( ! isPublic(field) && Capabilities.haveAccessibility()) {
900
field.setAccessible(true);
901
}
902
}
903
904
905
/**
Callers
5
assign
Method · 0.95
setAccessibility
Method · 0.80
findAccessibleField
Method · 0.80
resolveJavaMethod
Method · 0.80
constructObject
Method · 0.80
Calls
2
isPublic
Method · 0.95
haveAccessibility
Method · 0.95
Tested by
no test coverage detected