src/main/java/io/github/classgraph/ClassInfo.java
boolean addRelatedClass(final RelType relType, final ClassInfo classInfo) {
        Set<ClassInfo> classInfoSet = relatedClasses.get(relType);
        if (classInfoSet == null) {
            relatedClasses.put(relType, classInfoSet = new LinkedHashSet<>(4));
        }
        return classInfoSet.add(classInfo);
    }
/**
     * Add a class with a given relationship type. Return whether the collection changed as a result of the call.
     *
     * @param relType
     *            the {@link RelType}
     * @param classInfo
     *            the {@link ClassInfo}
     * @return true, if successful
     */
Add a class with a given relationship type. Return whether the collection changed as a result of the call.
@param relType
the  RelType
@param classInfo
the  ClassInfo
@return true, if successful
Add a class with a given relationship type . Return whether the collection changed as a result of the call . @param relType the RelType @param classInfo the ClassInfo @return true if successful
boolean addRelatedClass(final RelType relType, final ClassInfo classInfo) {
        Set<ClassInfo> classInfoSet = relatedClasses.get(relType);
        if (classInfoSet == null) {
            relatedClasses.put(relType, classInfoSet = new LinkedHashSet<>(4));
        }
        return classInfoSet.add(classInfo);
    }
boolean addRelatedClass ( final RelType relType , final ClassInfo classInfo ) { Set < ClassInfo > classInfoSet = relatedClasses . get ( relType ) ; if ( classInfoSet == null ) { relatedClasses . put ( relType , classInfoSet = new LinkedHashSet < > ( 4 ) ) ; } return classInfoSet . add ( classInfo ) ; }
Add a class with a given relationship type.
Add a class with a given relationship type .