MethodLink

An interface used to simply access methods.

Author

Dustin Glaser

Inheritors

Functions

Link copied to clipboard
public String identifier()
Returns the identifier of this identifiable object.
Link copied to clipboard
public abstract T invoke<T>(Object instance, Array<Object> arguments)
Invokes the method linked by this method link on the given instance with the given arguments.
Link copied to clipboard
public abstract T invokeStatic<T>(Array<Object> arguments)
Invokes the method linked by this method link with the given arguments.
Link copied to clipboard
public Link.Kind kind()
Link copied to clipboard
public int modifiers()
Return the bit representation of the modifiers of this link.
Link copied to clipboard
public String name()
Returns the name of this link.
Link copied to clipboard
public abstract Method reflection()
Returns the actual method behind this method link.
Link copied to clipboard
public abstract TypeLink returnType()
Returns the return type of the method linked by this method link.
Link copied to clipboard
public String string()
Returns a human-readable string representation of this object.
Link copied to clipboard
public abstract TypeLink type()
Returns the type of this link.
Link copied to clipboard
public abstract List<? extends TypeLink> typeList()
Returns the list of this link.