package bluej.debugger.gentype;

import threadchecker.OnThread;
import threadchecker.Tag;

import java.util.Map;
import java.util.Set;


| A type for which we know the text representation, but not the structure. Ie. | a type that the user has supplied in a text box, and which we haven't yet | parsed or performed equivalent magic with.<p> | | This is an actual type, not a wildcard, and not a primitive.<p> | | Most operations on this type fail with an UnsupportedOperationException. | | @author Davin McCall | public class TextType extends GenTypeSolid{ private String text; public TextType(String text) { this.text = text; }
| (non-Javadoc) | @see java.lang.Object#toString() | public String toString() { return text; } public String arrayComponentName() { throw new UnsupportedOperationException(); }
| | @see bluej.debugger.gentype.GenType#isPrimitive() | @Override public boolean isPrimitive() { return false; }
| (non-Javadoc) | @see bluej.debugger.gentype.GenType#getErasedType() | public JavaType getErasedType() { throw new UnsupportedOperationException(); }
| (non-Javadoc) | @see bluej.debugger.gentype.GenType#isAssignableFrom(bluej.debugger.gentype.GenType) | public boolean isAssignableFrom(JavaType t) { throw new UnsupportedOperationException(); }
| (non-Javadoc) | @see bluej.debugger.gentype.GenType#isAssignableFromRaw(bluej.debugger.gentype.GenType) | public boolean isAssignableFromRaw(JavaType t) { throw new UnsupportedOperationException(); }
| (non-Javadoc) | @see bluej.debugger.gentype.GenType#mapTparsToTypes(java.util.Map) | @OnThread(Tag.Any) public JavaType mapTparsToTypes(Map<String, ? extends GenTypeParameter> tparams) { throw new UnsupportedOperationException(); } public GenTypeClass asClass() { throw new UnsupportedOperationException(); } public void getParamsFromTemplate(Map<String,GenTypeParameter> map, GenTypeParameter template) { throw new UnsupportedOperationException(); } @OnThread(Tag.Any) public GenTypeSolid getLowerBound() { throw new UnsupportedOperationException(); } public boolean equals(JavaType other) { if (other == null) { return false; } if (other == this) { return true; } throw new UnsupportedOperationException(); } public String toTypeArgString(NameTransform nt) { return text; } public GenTypeSolid [] getUpperBounds() { throw new UnsupportedOperationException(); } public GenTypeSolid getUpperBound() { return this; } @Override public JavaType getCapture() { throw new UnsupportedOperationException(); } @Override public GenTypeArray getArray() { return new GenTypeArray(this); } @Override public boolean isWildcard() { return false; } @Override public void erasedSuperTypes(Set<Reflective> s) { throw new UnsupportedOperationException(); } @Override public GenTypeClass[] getReferenceSupertypes() { throw new UnsupportedOperationException(); } @Override public boolean isInterface() { throw new UnsupportedOperationException(); } @Override public String toString(NameTransform nt) { return text; } }
top, use, map, class TextType

.   TextType
.   toString
.   arrayComponentName
.   isPrimitive
.   getErasedType
.   isAssignableFrom
.   isAssignableFromRaw
.   mapTparsToTypes
.   asClass
.   getParamsFromTemplate
.   getLowerBound
.   equals
.   toTypeArgString
.   getUpperBounds
.   getUpperBound
.   getCapture
.   getArray
.   isWildcard
.   erasedSuperTypes
.   getReferenceSupertypes
.   isInterface
.   toString




200 neLoCode + 18 LoComm