groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject groovy git commit: improved class comment
Date Thu, 13 Oct 2016 13:19:14 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 69ace4d8c -> 78b6bd1cc


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/78b6bd1c
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/78b6bd1c
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/78b6bd1c

Branch: refs/heads/GROOVY_2_4_X
Commit: 78b6bd1cc6890d58ffd68aaaf02fe01185d1c9fe
Parents: 69ace4d
Author: paulk <paulk@asert.com.au>
Authored: Thu Oct 13 23:18:16 2016 +1000
Committer: paulk <paulk@asert.com.au>
Committed: Thu Oct 13 23:19:01 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/78b6bd1c/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 c01efdc..201014a 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 {
 


Mime
View raw message