Code example for TreeMultimap

Methods: put

0
            fieldTypesByClassAndFieldNames.put(className + "." + field, fieldTypes.get(field).getName());
        } 
    } 
 
    private void addThisField(String className) {
        fieldsByClassNames.put(className, "this");
        fieldTypesByClassAndFieldNames.put(className + "." + "this", className);
    } 
 
    public Collection<String> getClassNames() {
        return classNames; 
    } 
 
    public Collection<String> getFieldNames(String className) {
        return fieldsByClassNames.get(className);
    } 
 
    public String getFieldType(String className, String fieldName) {
        return fieldTypesByClassAndFieldNames.get(className + "." + fieldName);
    } 
Connect your IDE to all the code out there  Get Codota for Java