public static class TypePool.Resolution.Illegal extends Object implements TypePool.Resolution
TypePool
.TypePool.Resolution.Illegal, TypePool.Resolution.Simple
Constructor and Description |
---|
Illegal(String name)
Creates a new illegal resolution.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
isResolved()
Determines if this resolution represents a fully-resolved
TypeDescription . |
TypeDescription |
resolve()
Resolves this resolution to a
TypeDescription . |
String |
toString() |
public Illegal(String name)
name
- The name of the unresolved type.public boolean isResolved()
TypePool.Resolution
TypeDescription
.isResolved
in interface TypePool.Resolution
true
if the queried type could be resolved.public TypeDescription resolve()
TypePool.Resolution
TypeDescription
. If this resolution is unresolved, this
method throws an exception either upon invoking this method or upon invoking at least one method
of the returned type description.resolve
in interface TypePool.Resolution
Copyright © 2014–2016. All rights reserved.