Skip to content

Commit

Permalink
Comments AspectToEcore.findFeatureNameFor()
Browse files Browse the repository at this point in the history
  • Loading branch information
fcoulon committed Feb 16, 2015
1 parent 85e958e commit 546db6d
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,14 @@ class AspectToEcore

aspImport.ecoreFragment = aspPkg
}


/**
* If {@link op} is a getter or a setter return the name of the corresponding feature.
* Otherwise return null
*
* @param type Aspect where {@link op} is defined
* @param op Method defined in {@link type}
*/
def String findFeatureNameFor(JvmDeclaredType type, JvmOperation op) {
if (
( op.simpleName.startsWith("get")
Expand Down

0 comments on commit 546db6d

Please sign in to comment.