Add EffectiveStatementEquivalent
[yangtools.git] / yang / rfc7952-parser-support / src / main / java / org / opendaylight / yangtools / rfc7952 / parser / AnnotationStatementSupport.java
index 9ce4521c93c00d860b78581e663d8372ca1e16d6..df699e770d6d6f05266e6da257e31555b9cb3f24 100644 (file)
@@ -87,6 +87,11 @@ public final class AnnotationStatementSupport
         public TypeDefinition<?> getTypeDefinition() {
             return type;
         }
+
+        @Override
+        public AnnotationEffectiveStatement asEffectiveStatement() {
+            return this;
+        }
     }
 
     private static final AnnotationStatementSupport INSTANCE = new AnnotationStatementSupport(