You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2015/08/31 08:13:22 UTC

incubator-groovy git commit: corrections to TypeCheckingExtension Javadoc (closes #97)

Repository: incubator-groovy
Updated Branches:
  refs/heads/master ea17fa1fd -> 71ef0a70d


corrections to TypeCheckingExtension Javadoc (closes #97)


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/71ef0a70
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/71ef0a70
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/71ef0a70

Branch: refs/heads/master
Commit: 71ef0a70d2c70196e4205e65972649afa4a52886
Parents: ea17fa1
Author: Shil S <sh...@gmail.com>
Authored: Sat Aug 22 01:30:30 2015 -0400
Committer: pascalschumacher <pa...@gmx.net>
Committed: Mon Aug 31 08:11:30 2015 +0200

----------------------------------------------------------------------
 .../codehaus/groovy/transform/stc/TypeCheckingExtension.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/71ef0a70/src/main/org/codehaus/groovy/transform/stc/TypeCheckingExtension.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/transform/stc/TypeCheckingExtension.java b/src/main/org/codehaus/groovy/transform/stc/TypeCheckingExtension.java
index c436260..dd1c037 100644
--- a/src/main/org/codehaus/groovy/transform/stc/TypeCheckingExtension.java
+++ b/src/main/org/codehaus/groovy/transform/stc/TypeCheckingExtension.java
@@ -101,7 +101,7 @@ public class TypeCheckingExtension {
 
     /**
      * This method is called by the type checker when a method call cannot be resolved. Extensions
-     * may override this method to handle missing methods and avoid the type checker to throw an
+     * may override this method to handle missing methods and prevent the type checker from throwing an
      * error.
      *
      *
@@ -201,7 +201,7 @@ public class TypeCheckingExtension {
      * been visited by the type checker. This is in particular important for nodes which are marked with
      * {@link groovy.transform.TypeCheckingMode#SKIP}.
      *
-     * @param call a method call, either a {@link org.codehaus.groovy.ast.expr.MethodCallExpression} or a {@link org.codehaus.groovy.ast.expr.StaticMethodCallExpression}
+     * @param call a method call, either a {@link org.codehaus.groovy.ast.expr.MethodCallExpression}, {@link org.codehaus.groovy.ast.expr.StaticMethodCallExpression}, or {@link org.codehaus.groovy.ast.expr.ConstructorCallExpression}
      * @return false if the type checker should visit the node, or true if this extension replaces what the
      * type checker would do with the method call.
      */
@@ -214,7 +214,7 @@ public class TypeCheckingExtension {
      * Compared to a custom visitor, this method ensures that the node being visited is a node which would have
      * been visited by the type checker. This is in particular important for nodes which are marked with
      * {@link groovy.transform.TypeCheckingMode#SKIP}.
-     * @param call a method call, either a {@link org.codehaus.groovy.ast.expr.MethodCallExpression} or a {@link org.codehaus.groovy.ast.expr.StaticMethodCallExpression}
+     * @param call a method call, either a {@link org.codehaus.groovy.ast.expr.MethodCallExpression}, {@link org.codehaus.groovy.ast.expr.StaticMethodCallExpression}, or {@link org.codehaus.groovy.ast.expr.ConstructorCallExpression}
      */
     public void afterMethodCall(MethodCall call) {
     }