net.sf.clirr.core.spi
Interface Scoped

All Known Subinterfaces:
Field, JavaType, Method
All Known Implementing Classes:
BcelJavaType

public interface Scoped

A Java source code entity like a type or a method that has the concept of a visibility scope. Each entity has two scopes: One that is declared and the effective scope. For example a public method can have an effective scope of package if it appears in a class that is package visible.

Author:
lk

Method Summary
 Scope getDeclaredScope()
          The declared scope of this entity.
 Scope getEffectiveScope()
          The effective Scope of this entity.
 

Method Detail

getDeclaredScope

public Scope getDeclaredScope()
The declared scope of this entity.

Returns:
the scope that appears in the modifiers of this entity.

getEffectiveScope

public Scope getEffectiveScope()
The effective Scope of this entity.

Returns:
the minimum scope of the modifiers of this entity and it's all of it's containers.


Copyright © 2003-2007 Lars K??hne. All Rights Reserved.