|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.BaseTypeBinding
public class BaseTypeBinding
| Field Summary | |
|---|---|
static int[] |
CONVERSIONS
|
static int |
IDENTITY
|
static int |
MAX_CONVERSIONS
|
static int |
NARROWING
|
char[] |
simpleName
|
static int |
WIDENING
|
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding |
|---|
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, TYPE_USE_BINDING, typeAnnotations, VOID |
| Method Summary | |
|---|---|
TypeBinding |
clone(TypeBinding enclosingType)
Virtual copy constructor: a copy is made of the receiver's entire instance state and then suitably parameterized by the arguments to the clone operation as seen fit by each type. |
char[] |
computeUniqueKey(boolean isLeaf)
int -> I |
char[] |
constantPoolName()
Answer the receiver's constant pool name. |
PackageBinding |
getPackage()
|
static int[] |
initializeConversions()
|
boolean |
isCompatibleWith(TypeBinding right,
Scope captureScope)
|
static boolean |
isNarrowing(int left,
int right)
Predicate telling whether "left" can store a "right" using some narrowing conversion (is left smaller than right) |
boolean |
isUncheckedException(boolean includeSupertype)
T_null is acting as an unchecked exception |
static boolean |
isWidening(int left,
int right)
Predicate telling whether "left" can store a "right" using some widening conversion (is left bigger than right) |
int |
kind()
|
char[] |
qualifiedSourceName()
Answer the source name for the type. |
char[] |
readableName()
|
void |
setTypeAnnotations(AnnotationBinding[] annotations,
boolean evalNullAnnotations)
|
char[] |
shortReadableName()
|
char[] |
sourceName()
|
java.lang.String |
toString()
|
TypeBinding |
unannotated(boolean removeOnlyNullAnnotations)
Return this type minus its type annotations |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding |
|---|
computeUniqueKey, getAnnotations, getAnnotationTagBits, initializeDeprecatedAnnotationTagBits, isAnnotationType, isParameter, isTaggedRepeatable, isValidBinding, isVolatile, problemId, setAnnotations, setAnnotations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int[] CONVERSIONS
public static final int IDENTITY
public static final int WIDENING
public static final int NARROWING
public static final int MAX_CONVERSIONS
public char[] simpleName
| Method Detail |
|---|
public static final int[] initializeConversions()
public static final boolean isNarrowing(int left,
int right)
left - - the target type to convert toright - - the actual type
public static final boolean isWidening(int left,
int right)
left - - the target type to convert toright - - the actual type
public char[] computeUniqueKey(boolean isLeaf)
computeUniqueKey in class Bindingpublic char[] constantPoolName()
TypeBinding
constantPoolName in class TypeBindingpublic TypeBinding clone(TypeBinding enclosingType)
TypeBinding
clone in class TypeBindingpublic PackageBinding getPackage()
getPackage in class TypeBinding
public final boolean isCompatibleWith(TypeBinding right,
Scope captureScope)
isCompatibleWith in class TypeBinding
public void setTypeAnnotations(AnnotationBinding[] annotations,
boolean evalNullAnnotations)
setTypeAnnotations in class TypeBindingpublic TypeBinding unannotated(boolean removeOnlyNullAnnotations)
TypeBinding
unannotated in class TypeBindingremoveOnlyNullAnnotations - if true only null type annotations are removed, otherwise all type annotations.public boolean isUncheckedException(boolean includeSupertype)
isUncheckedException in class TypeBindingTypeBinding.isUncheckedException(boolean)public int kind()
kind in class TypeBindingBinding.kind()public char[] qualifiedSourceName()
TypeBinding
qualifiedSourceName in class TypeBindingpublic char[] readableName()
readableName in class Bindingpublic char[] shortReadableName()
shortReadableName in class Bindingpublic char[] sourceName()
sourceName in class TypeBindingpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||