|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.dynamicjava.Options
public class Options
| Field Summary | |
|---|---|
static Options |
DEFAULT
|
| Constructor Summary | |
|---|---|
protected |
Options()
For default options, use DEFAULT; for custom options, create a subclass. |
| Method Summary | |
|---|---|
boolean |
enforceAllAccess()
Check that all access of class members is permitted by accessibility controls. |
boolean |
enforcePrivateAccess()
Check that access of private class members is permitted (irrelevant if enforceAllAccess() is true). |
boolean |
prohibitBoxing()
Disallow boxing conversion. |
boolean |
prohibitUncheckedCasts()
Disallow unchecked casting conversion. |
boolean |
requireSemicolon()
Require a semicolon at the end of statements. |
boolean |
requireVariableType()
Require variable declarations to include an explicit type. |
TypeSystem |
typeSystem()
|
protected Thunk<? extends TypeSystem> |
typeSystemFactory()
Provide a factory for the type system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Options DEFAULT
| Constructor Detail |
|---|
protected Options()
DEFAULT; for custom options, create a subclass.
| Method Detail |
|---|
protected Thunk<? extends TypeSystem> typeSystemFactory()
public final TypeSystem typeSystem()
public boolean requireSemicolon()
public boolean requireVariableType()
public boolean enforceAllAccess()
public boolean enforcePrivateAccess()
public boolean prohibitBoxing()
public boolean prohibitUncheckedCasts()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||