Modifier and type | Action and description |
---|---|
protected void | checkModifiers(XtendMember,String) Check the modifiers for the given member. |
protected void | error(String,EObject,int) Report an "invalid modifier" error through the associated validator. |
protected boolean | isPackageByDefault(XtendMember) Replies if the default visibility modifier for the given member is "package". |
protected boolean | isPrivateByDefault(XtendMember) Replies if the default visibility modifier for the given member is "private". |
protected boolean | isProtectedByDefault(XtendMember) Replies if the default visibility modifier for the given member is "protected". |
protected boolean | isPublicByDefault(XtendMember) Replies if the default visibility modifier for the given member is "public". |
protected void | issue(String,EObject,int,String,String*) Report an issue through the associated validator. |
protected void | unnecessaryModifierIssue(String,String,EObject,int) Report an issue for unnecessary modifier |
protected def checkModifiers(XtendMember,String)
protected def error(String,EObject,int)
protected def isPackageByDefault(XtendMember) : boolean
true
, the "package" modifier is assumed to be the default one for the given member. This function may be used for printing out an "unnecessary modifier" warning when the "package" modifier is explicitly attached to the given member.
This function is defined for being overridden by subclasses.
protected def isPrivateByDefault(XtendMember) : boolean
true
, the "private" modifier is assumed to be the default one for the given member. This function may be used for printing out an "unnecessary modifier" warning when the "private" modifier is explicitly attached to the given member.
This function is defined for being overridden by subclasses.
protected def isProtectedByDefault(XtendMember) : boolean
true
, the "protected" modifier is assumed to be the default one for the given member. This function may be used for printing out an "unnecessary modifier" warning when the "protected" modifier is explicitly attached to the given member.
This function is defined for being overridden by subclasses.
protected def isPublicByDefault(XtendMember) : boolean
true
, the "public" modifier is assumed to be the default one for the given member. This function may be used for printing out an "unnecessary modifier" warning when the "public" modifier is explicitly attached to the given member.
This function is defined for being overridden by subclasses.
protected def issue(String,EObject,int,String,String*)
protected def unnecessaryModifierIssue(String,String,EObject,int)