edu.rice.cs.dynamicjava.symbol
Interface Function

All Known Subinterfaces:
DJConstructor, DJMethod
All Known Implementing Classes:
ArrayCloneMethod, GetClassMethod, JavaClass.JavaConstructor, JavaClass.JavaMethod, LocalFunction, SpecialMethod

public interface Function

Represents a function -- a method, constructor, or local function.


Method Summary
 java.lang.String declaredName()
           
 java.lang.Iterable<LocalVariable> parameters()
           
 Type returnType()
           
 java.lang.Iterable<Type> thrownTypes()
           
 java.lang.Iterable<VariableType> typeParameters()
           
 

Method Detail

declaredName

java.lang.String declaredName()

typeParameters

java.lang.Iterable<VariableType> typeParameters()

parameters

java.lang.Iterable<LocalVariable> parameters()

returnType

Type returnType()

thrownTypes

java.lang.Iterable<Type> thrownTypes()