示例#1
0
        public override bool Equals(object o)
        {
            if (o == this)
            {
                return(true);
            }
            if (!(o is AnnotationExprent))
            {
                return(false);
            }
            AnnotationExprent ann = (AnnotationExprent)o;

            return(className.Equals(ann.className) && InterpreterUtil.EqualLists(parNames, ann
                                                                                 .parNames) && InterpreterUtil.EqualLists(parValues, ann.parValues));
        }
示例#2
0
 public TypeAnnotation(int target, byte[] path, AnnotationExprent annotation)
 {
     this.target     = target;
     this.path       = path;
     this.annotation = annotation;
 }