Modifier and Type | Field and Description |
---|---|
private MethodInfo |
MethodParameterInfo.method |
Modifier and Type | Field and Description |
---|---|
private java.util.List<MethodInfo> |
Indexer.methods |
Modifier and Type | Method and Description |
---|---|
MethodInfo |
TypeTarget.asMethod() |
MethodInfo |
MethodParameterInfo.asMethod() |
MethodInfo |
MethodInfo.asMethod() |
MethodInfo |
FieldInfo.asMethod() |
MethodInfo |
ClassInfo.asMethod() |
MethodInfo |
AnnotationTarget.asMethod()
Casts and returns this target as a
MethodInfo if it is of kind METHOD |
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
java.lang.String name,
java.lang.String[] parameterNames,
Type[] args,
Type returnType,
short flags,
TypeVariable[] typeParameters,
Type[] exceptions)
Construct a new mock Method instance.
|
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
java.lang.String name,
Type[] args,
Type returnType,
short flags)
Construct a new mock Method instance.
|
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
java.lang.String name,
Type[] args,
Type returnType,
short flags,
TypeVariable[] typeParameters,
Type[] exceptions)
Construct a new mock Method instance.
|
MethodInfo |
ThrowsTypeTarget.enclosingTarget() |
MethodInfo |
MethodParameterTypeTarget.enclosingTarget() |
MethodInfo |
ClassInfo.firstMethod(java.lang.String name)
Retrieves the "first" occurrence of a method by the given name.
|
MethodInfo |
MethodInfoGenerator.get(int i) |
MethodInfo |
MethodParameterInfo.method()
Returns the method this parameter belongs to.
|
MethodInfo |
ClassInfo.method(java.lang.String name,
Type... parameters)
Retrieves a method based on its signature, which includes a method name and an argument list.
|
private MethodInfo |
IndexReaderV1.readMethod(ClassInfo clazz,
PackedDataInputStream stream) |
Modifier and Type | Method and Description |
---|---|
java.util.List<MethodInfo> |
ClassInfo.methods()
Returns a list of all methods declared in this class.
|
Modifier and Type | Method and Description |
---|---|
static MethodParameterInfo |
MethodParameterInfo.create(MethodInfo method,
short parameter)
Constructs a new mock method parameter info
|
private void |
Indexer.parseMethodSignature(java.lang.String signature,
MethodInfo method) |
private void |
Indexer.processAnnotationDefault(java.io.DataInputStream data,
MethodInfo target) |
private void |
Indexer.processCode(java.io.DataInputStream data,
MethodInfo target) |
private void |
Indexer.processExceptions(java.io.DataInputStream data,
MethodInfo target) |
private void |
Indexer.processLocalVariableTable(java.io.DataInputStream data,
MethodInfo target) |
private void |
Indexer.processMethodParameters(java.io.DataInputStream data,
MethodInfo target) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
ClassInfo.setMethods(java.util.List<MethodInfo> methods,
NameTable names) |
Constructor and Description |
---|
MethodParameterInfo(MethodInfo method,
short parameter) |
MethodParameterTypeTarget(MethodInfo enclosingTarget,
int position) |
ThrowsTypeTarget(MethodInfo enclosingTarget,
int position) |