org.mesopotamia.lang.java.ref
Class SoftCachingScope

java.lang.Object
  extended by org.mesopotamia.lang.java.ref.SoftCachingScope
All Implemented Interfaces:
Scope

public abstract class SoftCachingScope
extends java.lang.Object
implements Scope

Scope which caches resolved types, variables and methods using soft references.

Author:
Pavel

Constructor Summary
SoftCachingScope()
           
 
Method Summary
 MethodInfo findMethod(java.lang.String name, java.lang.String[] parameterTypes)
           
protected abstract  MethodInfo findMethodInternal(java.lang.String name, java.lang.String[] parameterTypes)
           
 TypeInfo findType(java.lang.String name)
           
protected abstract  TypeInfo findTypeInternal(java.lang.String name)
           
 VariableInfo findVariable(java.lang.String name)
           
protected abstract  VariableInfo findVariableInternal(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoftCachingScope

public SoftCachingScope()
Method Detail

findMethod

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

findMethodInternal

protected abstract MethodInfo findMethodInternal(java.lang.String name,
                                                 java.lang.String[] parameterTypes)

findType

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

findTypeInternal

protected abstract TypeInfo findTypeInternal(java.lang.String name)

findVariable

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

findVariableInternal

protected abstract VariableInfo findVariableInternal(java.lang.String name)


Copyright © 2005 Hammurapi Group. All Rights Reserved.