biz.hammurapi.mesopotamia.lang.javax
Interface Scope

All Known Subinterfaces:
PackageInfo, TypeInfo
All Known Implementing Classes:
ClassDefinitionEx, InterfaceDefinitionEx, PackageDefinitionEx, PackageImportDefinition, ScanEx, TypeImportDefinition

public interface Scope


Method Summary
 MethodInfo findMethod(java.lang.String name, java.lang.String[] argumentTypes)
          Finds method in the scope.
 TypeInfo findType(java.lang.String name)
          Finds type.
 VariableInfo findVariable(java.lang.String name)
          Finds variable info.
 

Method Detail

findMethod

MethodInfo findMethod(java.lang.String name,
                      java.lang.String[] argumentTypes)
Finds method in the scope.

Parameters:
name - Method name.
argumentTypes - Argument types. For null argument type is null.
Returns:
Method info or null if not found.

findType

TypeInfo findType(java.lang.String name)
Finds type.

Parameters:
name - Fully qualified or short name.
Returns:
Type info or null if not found.

findVariable

VariableInfo findVariable(java.lang.String name)
Finds variable info.

Parameters:
name - Variable name.
Returns:
Variable info or null if not found.


Copyright © 2008 Hammurapi Group. All Rights Reserved.