
public class MethodArgNamesLookup extends Object implements Serializable
| Constructor and Description |
|---|
MethodArgNamesLookup() |
| Modifier and Type | Method and Description |
|---|---|
void |
freeze()
Prevent further modification to this object.
|
String[] |
lookup(JAbstractMethod method,
CollectMethodData methodData)
Lookup the argument names for a given method.
|
void |
mergeFrom(MethodArgNamesLookup other)
Merge argument names from another lookup map into this one.
|
void |
store(String enclosingType,
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
Store the argument names for a method.
|
public void freeze()
store(String, AbstractMethodDeclaration) or
mergeFrom(MethodArgNamesLookup) on this object will fail after
this method is called.public String[] lookup(JAbstractMethod method, CollectMethodData methodData)
method - TypeOracle methodmethodData - method data collected from bytecodepublic void mergeFrom(MethodArgNamesLookup other)
other - public void store(String enclosingType, org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
Note: method must have non-zero arguments.
enclosingType - fully qualified binary name of the enclosing typemethod - JDT methodCopyright © 2018. All rights reserved.