langtools/src/share/classes/com/sun/tools/javac/api/JavacTrees.java
changeset 22165 ec53c8946fc2
parent 22163 3651128c74eb
child 23122 02c931d49ad2
equal deleted inserted replaced
22164:c8eb1ae29c58 22165:ec53c8946fc2
   457         return null;
   457         return null;
   458     }
   458     }
   459 
   459 
   460     /** @see com.sun.tools.javadoc.ClassDocImpl#findField */
   460     /** @see com.sun.tools.javadoc.ClassDocImpl#findField */
   461     private VarSymbol findField(ClassSymbol tsym, Name fieldName) {
   461     private VarSymbol findField(ClassSymbol tsym, Name fieldName) {
   462         return searchField(tsym, fieldName, new HashSet<>());
   462         return searchField(tsym, fieldName, new HashSet<ClassSymbol>());
   463     }
   463     }
   464 
   464 
   465     /** @see com.sun.tools.javadoc.ClassDocImpl#searchField */
   465     /** @see com.sun.tools.javadoc.ClassDocImpl#searchField */
   466     private VarSymbol searchField(ClassSymbol tsym, Name fieldName, Set<ClassSymbol> searched) {
   466     private VarSymbol searchField(ClassSymbol tsym, Name fieldName, Set<ClassSymbol> searched) {
   467         if (searched.contains(tsym)) {
   467         if (searched.contains(tsym)) {
   523         return null;
   523         return null;
   524     }
   524     }
   525 
   525 
   526     /** @see com.sun.tools.javadoc.ClassDocImpl#findMethod */
   526     /** @see com.sun.tools.javadoc.ClassDocImpl#findMethod */
   527     private MethodSymbol findMethod(ClassSymbol tsym, Name methodName, List<Type> paramTypes) {
   527     private MethodSymbol findMethod(ClassSymbol tsym, Name methodName, List<Type> paramTypes) {
   528         return searchMethod(tsym, methodName, paramTypes, new HashSet<>());
   528         return searchMethod(tsym, methodName, paramTypes, new HashSet<ClassSymbol>());
   529     }
   529     }
   530 
   530 
   531     /** @see com.sun.tools.javadoc.ClassDocImpl#searchMethod */
   531     /** @see com.sun.tools.javadoc.ClassDocImpl#searchMethod */
   532     private MethodSymbol searchMethod(ClassSymbol tsym, Name methodName,
   532     private MethodSymbol searchMethod(ClassSymbol tsym, Name methodName,
   533                                        List<Type> paramTypes, Set<ClassSymbol> searched) {
   533                                        List<Type> paramTypes, Set<ClassSymbol> searched) {