FileDocCategorySizeDatePackage
AttSourceFile.javaAPI DocAndroid 5.1 API1694Thu Mar 12 22:18:30 GMT 2015com.android.dx.cf.attrib

AttSourceFile

public final class AttSourceFile extends BaseAttribute
Attribute class for standard {@code SourceFile} attributes.

Fields Summary
public static final String
ATTRIBUTE_NAME
{@code non-null;} attribute name for attributes of this type
private final com.android.dx.rop.cst.CstString
sourceFile
{@code non-null;} name of the source file
Constructors Summary
public AttSourceFile(com.android.dx.rop.cst.CstString sourceFile)
Constructs an instance.

param
sourceFile {@code non-null;} the name of the source file


                      
       
        super(ATTRIBUTE_NAME);

        if (sourceFile == null) {
            throw new NullPointerException("sourceFile == null");
        }

        this.sourceFile = sourceFile;
    
Methods Summary
public intbyteLength()
{@inheritDoc}

        return 8;
    
public com.android.dx.rop.cst.CstStringgetSourceFile()
Gets the source file name of this instance.

return
{@code non-null;} the source file

        return sourceFile;