Method Summary |
|
public JModifiers | copy() Creates a copy of this JModifiers instance. |
public boolean | isAbstract() Returns true if this JModifiers includes the qualifier "abstract". |
public boolean | isFinal() Returns true if this JModifiers includes the qualifier "final". |
public boolean | isPackage() Returns true if the visibility modifier for this JModifier is package
(i.e., without qualifier). |
public boolean | isPrivate() Returns true if the visibility modifier for this JModifier is "private". |
public boolean | isProtected() Returns true if the visibility modifier for this JModifier is "protected". |
public boolean | isPublic() Returns true if the visibility modifier for this JModifier is "public". |
public boolean | isStatic() Returns true if this JModifier includes the qualifier "static". |
public boolean | isTransient() Returns true if this JModifier includes the qualifier "transient". |
public void | makePackage() Changes the visibility qualifier to package (= without qualifier). |
public void | makePrivate() Changes the visibility qualifier to "private". |
public void | makeProtected() Changes the visibility qualifier to "protected". |
public void | makePublic() Changes the visibility qualifier to "public". |
public void | setAbstract(boolean isAbstract) Sets whether or not this JModifiers includes the qualifier "abstract". |
public void | setFinal(boolean isFinal) Sets whether or not this JModifiers includes the qualifier "final". |
public void | setStatic(boolean isStatic) Sets whether or not this JModifiers includes the qualifier "static". |
public void | setTransient(boolean isTransient) Sets whether or not this JModifiers includes the qualifier "transient". |
public String | toString() |