com.android.dx.cf.iface
Interface MethodList

All Known Implementing Classes:
StdMethodList

public interface MethodList

Interface for lists of methods.


Method Summary
 Method get(int n)
          Get the nth method.
 boolean isMutable()
          Get whether this instance is mutable.
 int size()
          Get the number of methods in the list.
 

Method Detail

isMutable

boolean isMutable()
Get whether this instance is mutable. Note that the MethodList interface itself doesn't provide any means of mutation, but that doesn't mean that there isn't a non-interface way of mutating an instance.

Returns:
true iff this instance is somehow mutable

size

int size()
Get the number of methods in the list.

Returns:
the size

get

Method get(int n)
Get the nth method.

Parameters:
n - n >= 0, n < size(); which method
Returns:
non-null; the method in question


Copyright © 2015. All rights reserved.