public class MetaMethodIndex extends Object
Modifier and Type | Class | Description |
---|---|---|
static class |
MetaMethodIndex.CacheEntry |
|
static class |
MetaMethodIndex.Entry |
|
static interface |
MetaMethodIndex.EntryIterator |
|
static class |
MetaMethodIndex.Header |
Modifier and Type | Field | Description |
---|---|---|
protected static int |
DEFAULT_CAPACITY |
|
protected static int |
MAXIMUM_CAPACITY |
|
SingleKeyHashMap |
methodHeaders |
|
protected static int |
MINIMUM_CAPACITY |
|
protected int |
size |
|
protected MetaMethodIndex.Entry[] |
table |
|
protected int |
threshold |
Constructor | Description |
---|---|
MetaMethodIndex(CachedClass theCachedClass) |
public SingleKeyHashMap methodHeaders
protected MetaMethodIndex.Entry[] table
protected static final int DEFAULT_CAPACITY
protected static final int MINIMUM_CAPACITY
protected static final int MAXIMUM_CAPACITY
protected int size
protected transient int threshold
public MetaMethodIndex(CachedClass theCachedClass)
public static int hash(int h)
public int size()
public boolean isEmpty()
public void clear()
public void init(int initCapacity)
public void resize(int newLength)
public MetaMethodIndex.Entry[] getTable()
public MetaMethodIndex.EntryIterator getEntrySetIterator()
public final MetaMethodIndex.Entry getMethods(Class cls, String name)
public MetaMethodIndex.Entry getOrPutMethods(String name, MetaMethodIndex.Header header)
public MetaMethodIndex.Header getHeader(Class cls)
public void copyNonPrivateMethods(MetaMethodIndex.Header from, MetaMethodIndex.Header to)
public void copyAllMethodsToSuper(MetaMethodIndex.Header from, MetaMethodIndex.Header to)
public void copyNonPrivateMethodsFromSuper(MetaMethodIndex.Header from)
public void copyNonPrivateNonNewMetaMethods(MetaMethodIndex.Header from, MetaMethodIndex.Header to)
public Object addMethodToList(Object o, MetaMethod method)
public void copyMethodsToSuper()
public void copy(Class c, MetaMethodIndex.Header index)
public void copy(MetaMethodIndex.Header from, MetaMethodIndex.Header to)
public void clearCaches()
public void clearCaches(String name)