- org.codehaus.groovy.runtime.metaclass.MetaMethodIndex
-
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-
Methods Summary
Methods
Type |
Name and description |
def |
MetaMethodIndex(CachedClass theCachedClass)
|
Object |
addMethodToList(Object o, MetaMethod method)
|
void |
clear()
|
void |
clearCaches()
|
void |
clearCaches(String name)
|
void |
copy(Class c, MetaMethodIndex.Header index)
|
void |
copy(MetaMethodIndex.Header from, MetaMethodIndex.Header to)
|
void |
copyAllMethodsToSuper(MetaMethodIndex.Header from, MetaMethodIndex.Header to)
|
void |
copyMethodsToSuper()
|
void |
copyNonPrivateMethods(Class from, Class to)
|
void |
copyNonPrivateMethods(MetaMethodIndex.Header from, MetaMethodIndex.Header to)
|
void |
copyNonPrivateMethodsDown(Class from, Class to)
|
void |
copyNonPrivateMethodsFromSuper(MetaMethodIndex.Header from)
|
void |
copyNonPrivateNonNewMetaMethods(MetaMethodIndex.Header from, MetaMethodIndex.Header to)
|
MetaMethodIndex.EntryIterator |
getEntrySetIterator()
|
MetaMethodIndex.Header |
getHeader(Class cls)
|
MetaMethodIndex.Entry |
getMethods(Class cls, String name)
|
MetaMethodIndex.Entry |
getOrPutMethods(String name, MetaMethodIndex.Header header)
|
MetaMethodIndex.Entry[] |
getTable()
|
static int |
hash(int h)
|
void |
init(int initCapacity)
|
boolean |
isEmpty()
|
void |
resize(int newLength)
|
int |
size()
|
-
Inherited Methods Summary
-
-
Field Detail
-
protected static final int DEFAULT_CAPACITY
-
protected static final int MAXIMUM_CAPACITY
-
protected static final int MINIMUM_CAPACITY
-
Method Detail
-
public void clearCaches()
-
public void clearCaches(String name)
-
public void copyMethodsToSuper()
-
public void copyNonPrivateMethods(Class from, Class to)
-
public void copyNonPrivateMethodsDown(Class from, Class to)
-
public static int hash(int h)
-
public void init(int initCapacity)
-
public void resize(int newLength)
Copyright © 2003-2015 The Apache Software Foundation. All rights reserved.