// 
// Decompiled by Procyon v0.6.0
// 

package com.google.protobuf;

public abstract class GeneratedFile
{
    protected GeneratedFile() {
    }
    
    protected static void addOptionalExtension(final ExtensionRegistry registry, final String className, final String fieldName) {
        try {
            final GeneratedMessage.GeneratedExtension<?, ?> ext = (GeneratedMessage.GeneratedExtension<?, ?>)Class.forName(className).getField(fieldName).get(null);
            registry.add(ext);
        }
        catch (final ClassNotFoundException ex) {}
        catch (final NoSuchFieldException ex2) {}
        catch (final IllegalAccessException ex3) {}
    }
}
