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

Method insureNo

src/bsh/Modifiers.java:102–107  ·  view source on GitHub ↗
( String modifier, String context )

Source from the content-addressed store, hash-verified

100 }
101
102 private void insureNo( String modifier, String context )
103 {
104 if ( hasModifier( modifier ) )
105 throw new IllegalStateException(
106 context + " cannot be declared '"+modifier+"'");
107 }
108
109 public String toString()
110 {

Callers 3

validateForMethodMethod · 0.95
validateForFieldMethod · 0.95
validateForClassMethod · 0.95

Calls 1

hasModifierMethod · 0.95

Tested by

no test coverage detected