Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ hasPublic
Method
hasPublic
src/main/java/pascal/taie/language/classes/Modifier.java:54–56 ·
view source on GitHub ↗
(Set<Modifier> modifiers)
Source
from the content-addressed store, hash-verified
52
}
53
54
public
static
boolean hasPublic(Set<Modifier> modifiers) {
55
return
modifiers.contains(PUBLIC);
56
}
57
58
public
static
boolean hasProtected(Set<Modifier> modifiers) {
59
return
modifiers.contains(PROTECTED);
Callers
2
isPublic
Method · 0.95
isPublic
Method · 0.95
Calls
1
contains
Method · 0.65
Tested by
no test coverage detected