Jode 1.90-CVS
Build Aug 6, 2004

net.sf.jode.decompiler
Interface Scope

All Known Implementing Classes:
ClassAnalyzer, MethodAnalyzer

public interface Scope

This interface describes a scope. The basic scopes are: the package scope, the class scope (one more for each inner class) and the method scope.

Author:
Jochen Hoenicke

Field Summary
static int AMBIGUOUSNAME
           
static int CLASSNAME
           
static int CLASSSCOPE
          Tells that we want to allow a classanalyzer as scope.
static int FIELDNAME
           
static int LOCALNAME
           
static int METHODNAME
           
static int METHODSCOPE
          Tells that we want to allow a methodanalyzer as scope.
static int NOSUPERFIELDNAME
           
static int NOSUPERMETHODNAME
           
static int PACKAGENAME
           
 
Method Summary
 boolean conflicts(java.lang.String name, int usageType)
           
 boolean isScopeOf(java.lang.Object object, int scopeType)
          Tells if this is the scope of the given object, which is of scopeType.
 

Field Detail

PACKAGENAME

public static final int PACKAGENAME
See Also:
Constant Field Values

CLASSNAME

public static final int CLASSNAME
See Also:
Constant Field Values

METHODNAME

public static final int METHODNAME
See Also:
Constant Field Values

FIELDNAME

public static final int FIELDNAME
See Also:
Constant Field Values

AMBIGUOUSNAME

public static final int AMBIGUOUSNAME
See Also:
Constant Field Values

LOCALNAME

public static final int LOCALNAME
See Also:
Constant Field Values

NOSUPERMETHODNAME

public static final int NOSUPERMETHODNAME
See Also:
Constant Field Values

NOSUPERFIELDNAME

public static final int NOSUPERFIELDNAME
See Also:
Constant Field Values

CLASSSCOPE

public static final int CLASSSCOPE
Tells that we want to allow a classanalyzer as scope.

See Also:
Constant Field Values

METHODSCOPE

public static final int METHODSCOPE
Tells that we want to allow a methodanalyzer as scope.

See Also:
Constant Field Values
Method Detail

isScopeOf

public boolean isScopeOf(java.lang.Object object,
                         int scopeType)
Tells if this is the scope of the given object, which is of scopeType.

Parameters:
object - the object for which the scope
Returns:
true if the given object is in this scope.

conflicts

public boolean conflicts(java.lang.String name,
                         int usageType)

Jode 1.90-CVS
Build Aug 6, 2004

Copyright © 1998-2004 by Jochen Hoenicke.