| Modifier and Type | Method and Description |
|---|---|
TypeEnvironment |
CheckBase.getNewTypeEnvironment() |
TypeEnvironment |
CheckBase.getOldTypeEnvironment() |
TypeEnvironment |
JavaElement.getTypeEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
CheckBase.isAccessibleOrInAPI(Element e,
TypeEnvironment env)
Certain elements might be forced into the API even if they are not accessible (this is most usually a
programming error).
|
static boolean |
CheckBase.isBothAccessibleOrInApi(Element a,
TypeEnvironment envA,
Element b,
TypeEnvironment envB)
Extension of the
CheckBase.isAccessibleOrInAPI(javax.lang.model.element.Element, TypeEnvironment) method for 2 elements. |
static boolean |
CheckBase.isPubliclyUsedAs(TypeElement type,
TypeEnvironment env,
Collection<UseSite.Type> uses)
Checks if the type is publicly used as any of the provided use types.
|
void |
Check.setNewTypeEnvironment(TypeEnvironment env)
The environment containing the new version of the classes.
|
void |
CheckBase.setNewTypeEnvironment(TypeEnvironment env) |
void |
Check.setOldTypeEnvironment(TypeEnvironment env)
The environment containing the old version of the classes.
|
void |
CheckBase.setOldTypeEnvironment(TypeEnvironment env) |
Copyright © 2015. All Rights Reserved.