| Modifier and Type | Field and Description |
|---|---|
| private final javax. | |
| private final javax. |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static javax. | getEnclosingType(javax.
Returns the enclosing type of |
| pack-priv javax. | methodReturnType(javax.
|
| pack-priv ImmutableMap | methodReturnTypes(Set<javax.
Returns a map containing the real return types of the given methods, knowing that they appear in the given type. |
| private Map | noArgMethodsIn(javax.
Constructs a map from name to method of the no-argument methods in the given type. |
| elementUtils | back to summary |
|---|---|
| private final javax. | |
| typeUtils | back to summary |
|---|---|
| private final javax. | |
| EclipseHack | back to summary |
|---|---|
| pack-priv EclipseHack(javax. | |
| EclipseHack | back to summary |
|---|---|
| pack-priv EclipseHack(javax. | |
| getEnclosingType | back to summary |
|---|---|
| pack-priv static javax. Returns the enclosing type of
If all these conditions are met, we assume we're hitting the Eclipse bug, and we return no enclosing type instead. That does mean that in the unlikely event where we really do have an inner class of an instantiation of the outer class with type arguments that happen to be type variables with the same names as the corresponding parameters, we will do the wrong thing on Eclipse. But doing the wrong thing in that case is better than doing the wrong thing in the usual case. | |
| methodReturnType | back to summary |
|---|---|
| pack-priv javax. | |
| methodReturnTypes | back to summary |
|---|---|
| pack-priv ImmutableMap Returns a map containing the real return types of the given methods, knowing that they appear
in the given type. This means that if the given type is say | |
| noArgMethodsIn | back to summary |
|---|---|
| private Map Constructs a map from name to method of the no-argument methods in the given type. We need this
because an ExecutableElement returned by | |