// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) deadcode 
// Source File Name:   ConstructorDocImpl.java

package com.sun.tools.javadoc;

import com.sun.javadoc.ConstructorDoc;
import com.sun.tools.javac.v8.code.Symbol;
import com.sun.tools.javac.v8.util.List;
import com.sun.tools.javac.v8.util.Name;

// Referenced classes of package com.sun.tools.javadoc:
//            ExecutableMemberDocImpl, DocEnv

public class ConstructorDocImpl extends ExecutableMemberDocImpl
    implements ConstructorDoc
{

    public boolean isConstructor()
    {
        return true;
    }

    public String name()
    {
        com.sun.tools.javac.v8.code.Symbol.ClassSymbol classsymbol = sym.enclClass();
        String s = classsymbol.name.toString();
        for(classsymbol = classsymbol.owner.enclClass(); classsymbol != null; classsymbol = classsymbol.owner.enclClass())
            s = classsymbol.name.toString() + "." + s;

        return s;
    }

    public String qualifiedName()
    {
        return sym.enclClass().fullName().toString();
    }

    public ConstructorDocImpl(DocEnv docenv, com.sun.tools.javac.v8.code.Symbol.MethodSymbol methodsymbol)
    {
        ExecutableMemberDocImpl(docenv, methodsymbol);
    }

    public ConstructorDocImpl(DocEnv docenv, com.sun.tools.javac.v8.code.Symbol.MethodSymbol methodsymbol, String s, List list)
    {
        ExecutableMemberDocImpl(docenv, methodsymbol, s, list);
    }
}
