Repository: groovy
Updated Branches:
  refs/heads/master 0515ca52c -> 9e1a65e99


improved class comment


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

Branch: refs/heads/master
Commit: 9e1a65e99276eeb9e8b8cb8c667f655c57dbdea9
Parents: 0515ca5
Author: paulk <pa...@asert.com.au>
Authored: Thu Oct 13 23:18:16 2016 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Thu Oct 13 23:18:16 2016 +1000

----------------------------------------------------------------------
 .../codehaus/groovy/classgen/ClassCompletionVerifier.java    | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/9e1a65e9/src/main/org/codehaus/groovy/classgen/ClassCompletionVerifier.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/classgen/ClassCompletionVerifier.java 
b/src/main/org/codehaus/groovy/classgen/ClassCompletionVerifier.java
index 78861f3..a8f4948 100644
--- a/src/main/org/codehaus/groovy/classgen/ClassCompletionVerifier.java
+++ b/src/main/org/codehaus/groovy/classgen/ClassCompletionVerifier.java
@@ -45,7 +45,13 @@ import org.codehaus.groovy.transform.trait.Traits;
 import static java.lang.reflect.Modifier.*;
 import static org.objectweb.asm.Opcodes.*;
 /**
- * ClassCompletionVerifier
+ * Checks that a class satisfies various conditions including:
+ * <ul>
+ *     <li>Incorrect class or method access modifiers</li>
+ *     <li>No abstract methods appear in a non-abstract class</li>
+ *     <li>Existence and correct visibility for inherited members</li>
+ *     <li>Invalid attempts to override final members</li>
+ * </ul>
  */
 public class ClassCompletionVerifier extends ClassCodeVisitorSupport {
 

Reply via email to