boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; AnnotationContext context = (AnnotationContext)o; return Objects.equals(myOwner, context.myOwner) && Objects.equals(myType, context.myType); }