Package com.android.dx.cf.attrib
Class InnerClassList
java.lang.Object
com.android.dx.util.MutabilityControl
com.android.dx.util.FixedSizeList
com.android.dx.cf.attrib.InnerClassList
- All Implemented Interfaces:
ToHuman
List of "inner class" entries, which are the contents of
InnerClasses
attributes.-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.android.dx.util.FixedSizeList
equals, get0, getOrNull0, hashCode, set0, shrinkToFit, size, toHuman, toHuman, toString, toString
Methods inherited from class com.android.dx.util.MutabilityControl
isImmutable, isMutable, setImmutable, throwIfImmutable, throwIfMutable
-
Constructor Details
-
InnerClassList
public InnerClassList(int count) Constructs an instance.- Parameters:
count
- the number of elements to be in the list of inner classes
-
-
Method Details
-
get
Gets the indicated item.- Parameters:
n
->= 0;
which item- Returns:
null-ok;
the indicated item
-
set
public void set(int n, CstType innerClass, CstType outerClass, CstString innerName, int accessFlags) Sets the item at the given index.- Parameters:
n
->= 0, < size();
which classinnerClass
-non-null;
class this item refers toouterClass
-null-ok;
outer class that this class is a member of, if anyinnerName
-null-ok;
original simple name of this class, if not anonymousaccessFlags
- original declared access flags
-