src/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java

changeset 851
cad51b6eb7a6
parent 575
9a7c998bf2fc
child 969
8cc5b440fdde
     1.1 --- a/src/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java	Mon Jan 31 19:06:32 2011 -0800
     1.2 +++ b/src/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java	Tue Feb 01 10:11:05 2011 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2010, 2011 Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -29,7 +29,8 @@
    1.11  
    1.12  /**
    1.13   * A skeletal visitor of types with default behavior appropriate for
    1.14 - * the version 7 language level.
    1.15 + * the {@link javax.lang.model.SourceVersion#RELEASE_7 RELEASE_7}
    1.16 + * source version.
    1.17   *
    1.18   * <p> <b>WARNING:</b> The {@code TypeVisitor} interface implemented
    1.19   * by this class may have methods added to it in the future to
    1.20 @@ -64,4 +65,13 @@
    1.21      protected AbstractTypeVisitor7() {
    1.22          super();
    1.23      }
    1.24 +
    1.25 +    /**
    1.26 +     * Visits a {@code DisjunctiveType} in a manner defined by a subclass.
    1.27 +     *
    1.28 +     * @param t  {@inheritDoc}
    1.29 +     * @param p  {@inheritDoc}
    1.30 +     * @return the result of the visit as defined by a subclass
    1.31 +     */
    1.32 +    public abstract R visitDisjunctive(DisjunctiveType t, P p);
    1.33  }

mercurial