FileDocCategorySizeDatePackage
HeaderSection.javaAPI DocAndroid 5.1 API1719Thu Mar 12 22:18:30 GMT 2015com.android.dexgen.dex.file

HeaderSection

public final class HeaderSection extends UniformItemSection
File header section of a {@code .dex} file.

Fields Summary
private final List
list
{@code non-null;} the list of the one item in the section
Constructors Summary
public HeaderSection(DexFile file)
Constructs an instance. The file offset is initially unknown.

param
file {@code non-null;} file that this instance is part of

        super(null, file, 4);

        HeaderItem item = new HeaderItem();
        item.setIndex(0);

        this.list = Collections.singletonList(item);
    
Methods Summary
public IndexedItemget(com.android.dexgen.rop.cst.Constant cst)
{@inheritDoc}

        return null;
    
public java.util.Collectionitems()
{@inheritDoc}

        return list;
    
protected voidorderItems()
{@inheritDoc}

        // Nothing to do here.