MCPcopy Create free account
hub / github.com/beanshell/beanshell / makePublic

Method makePublic

src/bsh/BshMethod.java:142–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140 public Modifiers getModifiers() { return modifiers; }
141
142 public void makePublic() {
143 if (modifiers == null) {
144 modifiers = new Modifiers();
145 }
146 if (!modifiers.hasModifier("public")) {
147 modifiers.addModifier(Modifiers.METHOD, "public");
148 }
149 }
150
151 public String getName() { return name; }
152

Callers 1

ClassGeneratorUtilMethod · 0.80

Calls 2

addModifierMethod · 0.80
hasModifierMethod · 0.45

Tested by

no test coverage detected