public final class Scope
extends java.lang.Object
Change of access rights from lower to higher visibility rating is a binary-compatible change. Change of access rights from higher to lower is a binary-incompatible change.
Public > Protected > Package > Private
Modifier and Type | Field and Description |
---|---|
static Scope |
PACKAGE
Object representing package scoped objects.
|
static Scope |
PRIVATE
Object representing private scoped objects.
|
static Scope |
PROTECTED
Object representing protected scoped objects.
|
static Scope |
PUBLIC
Object representing public scoped objects.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDecl()
the Java visibility modifier.
|
java.lang.String |
getDesc() |
boolean |
isLessVisibleThan(Scope v) |
boolean |
isMoreVisibleThan(Scope v) |
public static final Scope PRIVATE
public static final Scope PACKAGE
public static final Scope PROTECTED
public static final Scope PUBLIC
Copyright © 2003-2012 Lars K??hne. All Rights Reserved.