langtools/src/share/classes/com/sun/tools/javac/comp/Env.java
changeset 22163 3651128c74eb
parent 19125 db8cab0ecbd9
child 24895 dd091d389fbf
equal deleted inserted replaced
22162:3b3e23e67329 22163:3651128c74eb
    90 
    90 
    91     /** Duplicate this environment, updating with given tree and info,
    91     /** Duplicate this environment, updating with given tree and info,
    92      *  and copying all other fields.
    92      *  and copying all other fields.
    93      */
    93      */
    94     public Env<A> dup(JCTree tree, A info) {
    94     public Env<A> dup(JCTree tree, A info) {
    95         return dupto(new Env<A>(tree, info));
    95         return dupto(new Env<>(tree, info));
    96     }
    96     }
    97 
    97 
    98     /** Duplicate this environment into a given Environment,
    98     /** Duplicate this environment into a given Environment,
    99      *  using its tree and info, and copying all other fields.
    99      *  using its tree and info, and copying all other fields.
   100      */
   100      */