org.mesopotamia.lang.java
Class JavaSourceUnit

java.lang.Object
  extended by AstSourceUnit
      extended by org.mesopotamia.lang.java.JavaSourceUnit
All Implemented Interfaces:
Scope

public class JavaSourceUnit
extends AstSourceUnit
implements Scope


Field Summary
static java.lang.String SCAN_CLASSLOADER
          Scan attribute of type ClassLoader for resolution of types.
static java.lang.String SCAN_TYPE_INFO_REPOSITORY
          Scan attribute of type ClassLoaderRepository for resolution of types.
 
Constructor Summary
JavaSourceUnit(org.mesopotamia.sql.SourceUnit dbData, Scan scan, RepositoryLanguage repoLanguage, java.util.Collection<java.lang.Number> loadLevels)
           
 
Method Summary
 MethodInfo findMethod(java.lang.String name, java.lang.String[] parameterTypes)
           
 TypeInfo findType(java.lang.String name)
           
 VariableInfo findVariable(java.lang.String name)
           
 java.lang.String getPackageName()
           
 HtmlRenderer getRenderer(Context context)
           
 void registerLocalOrAnonymous(java.lang.String fcn, org.mesopotamia.lang.java.TypeDefinitionOrAnonymous typeDefinitionOrAnonymous)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCAN_CLASSLOADER

public static final java.lang.String SCAN_CLASSLOADER
Scan attribute of type ClassLoader for resolution of types.

See Also:
Constant Field Values

SCAN_TYPE_INFO_REPOSITORY

public static final java.lang.String SCAN_TYPE_INFO_REPOSITORY
Scan attribute of type ClassLoaderRepository for resolution of types.

See Also:
Constant Field Values
Constructor Detail

JavaSourceUnit

public JavaSourceUnit(org.mesopotamia.sql.SourceUnit dbData,
                      Scan scan,
                      RepositoryLanguage repoLanguage,
                      java.util.Collection<java.lang.Number> loadLevels)
               throws MesopotamiaException
Throws:
MesopotamiaException
Method Detail

getPackageName

public java.lang.String getPackageName()

findMethod

public MethodInfo findMethod(java.lang.String name,
                             java.lang.String[] parameterTypes)
Specified by:
findMethod in interface Scope

findType

public TypeInfo findType(java.lang.String name)
Specified by:
findType in interface Scope

findVariable

public VariableInfo findVariable(java.lang.String name)
Specified by:
findVariable in interface Scope

registerLocalOrAnonymous

public void registerLocalOrAnonymous(java.lang.String fcn,
                                     org.mesopotamia.lang.java.TypeDefinitionOrAnonymous typeDefinitionOrAnonymous)

getRenderer

public HtmlRenderer getRenderer(Context context)


Copyright © 2005 Hammurapi Group. All Rights Reserved.