protected static class TypePool.AbstractBase.ArrayTypeResolution extends Object implements TypePool.Resolution
TypePool.Resolution.Illegal, TypePool.Resolution.Simple| Modifier | Constructor and Description |
|---|---|
protected |
ArrayTypeResolution(TypePool.Resolution resolution,
int arity)
Creates a wrapper for another resolution that, if resolved, represents an array type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
isResolved()
Determines if this resolution represents a
TypeDescription. |
protected static TypePool.Resolution |
of(TypePool.Resolution resolution,
int arity)
Creates a wrapper for another resolution that, if resolved, represents an array type.
|
TypeDescription |
resolve()
Resolves this resolution to the represented type description.
|
String |
toString() |
protected ArrayTypeResolution(TypePool.Resolution resolution, int arity)
resolution - The underlying resolution that is represented by this instance.arity - The arity of the represented array.protected static TypePool.Resolution of(TypePool.Resolution resolution, int arity)
resolution - The underlying resolution that is represented by this instance.arity - The arity of the represented array.public boolean isResolved()
TypePool.ResolutionTypeDescription.isResolved in interface TypePool.Resolutiontrue if the queried type could be resolved.public TypeDescription resolve()
TypePool.Resolutionresolve in interface TypePool.ResolutionCopyright © 2014–2015. All rights reserved.