org.apache.ws.jaxme.js
public static class JavaSource.Protection extends Object implements Serializable
Method Summary | |
---|---|
String | toString() |
static JavaSource.Protection | valueOf(String pProtection) Converts the given string into a protection type. |
static JavaSource.Protection | valueOf(int pModifiers) Returns an instance of Protection by using the methods
Modifier#isPublic(int), Modifier#isProtected(int) and
Modifier#isPrivate(int) on the argument pModifiers .
|
pModifiers
.
If neither returns true, assumes DEFAULT_PROTECTION.