public class UnknownReferenceType_c extends UnknownType_c implements UnknownReferenceType
position, ts
Constructor and Description |
---|
UnknownReferenceType_c(TypeSystem ts) |
Modifier and Type | Method and Description |
---|---|
FieldInstance |
fieldNamed(java.lang.String name)
Return the field named
name , or null. |
java.util.List<? extends FieldInstance> |
fields()
Returns a list of fields declared in this type.
|
boolean |
hasMethod(MethodInstance mi)
Return true if the type has the given method.
|
boolean |
hasMethodImpl(MethodInstance mi)
Return true if the type has the given method.
|
java.util.List<? extends ReferenceType> |
interfaces()
Returns a list of all the type's interfaces.
|
java.util.List<? extends MemberInstance> |
members()
Return a list of all the type's members.
|
java.util.List<? extends MethodInstance> |
methods()
Returns a list of methods declared in this type.
|
java.util.List<? extends MethodInstance> |
methods(java.lang.String name,
java.util.List<? extends Type> argTypes)
Return the methods named
name with the given formal
parameter types, if any. |
java.util.List<MethodInstance> |
methodsNamed(java.lang.String name)
Return the methods named
name , if any. |
Type |
superType()
Returns the supertype of this type.
|
isCanonical, toString, translate
arrayOf, arrayOf, descendsFrom, descendsFromImpl, isArray, isBoolean, isByte, isCastValid, isCastValidImpl, isChar, isClass, isComparable, isDouble, isFloat, isImplicitCastValid, isImplicitCastValidImpl, isInt, isIntOrLess, isLong, isLongOrLess, isNull, isNumeric, isPackage, isPrimitive, isReference, isShort, isSubtype, isSubtypeImpl, isThrowable, isType, isUncheckedException, isVoid, numericConversionValid, numericConversionValid, numericConversionValidImpl, numericConversionValidImpl, print, toArray, toClass, toNull, toPackage, toPrimitive, toReference, toType, typeEquals, typeEqualsImpl
copy, equals, equalsImpl, hashCode, position, typeSystem
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
arrayOf, arrayOf, descendsFrom, descendsFromImpl, isArray, isBoolean, isByte, isCastValid, isCastValidImpl, isChar, isClass, isComparable, isDouble, isFloat, isImplicitCastValid, isImplicitCastValidImpl, isInt, isIntOrLess, isLong, isLongOrLess, isNull, isNumeric, isPrimitive, isReference, isShort, isSubtype, isSubtypeImpl, isThrowable, isUncheckedException, isVoid, numericConversionValid, numericConversionValid, numericConversionValidImpl, numericConversionValidImpl, print, toArray, toClass, toNull, toPrimitive, toReference, toString, translate, typeEquals, typeEqualsImpl
equalsImpl, isCanonical, position, typeSystem
public UnknownReferenceType_c(TypeSystem ts)
public Type superType()
ReferenceType
superType
in interface ReferenceType
public java.util.List<? extends ReferenceType> interfaces()
ReferenceType
interfaces
in interface ReferenceType
Type
.Type
public java.util.List<? extends MemberInstance> members()
ReferenceType
members
in interface ReferenceType
MemberInstance
.MemberInstance
public java.util.List<? extends FieldInstance> fields()
ReferenceType
fields
in interface ReferenceType
FieldInstance
.FieldInstance
public java.util.List<? extends MethodInstance> methods()
ReferenceType
methods
in interface ReferenceType
MethodInstance
.MethodInstance
public FieldInstance fieldNamed(java.lang.String name)
ReferenceType
name
, or null.fieldNamed
in interface ReferenceType
public java.util.List<MethodInstance> methodsNamed(java.lang.String name)
ReferenceType
name
, if any.methodsNamed
in interface ReferenceType
name
- Name of the method to search for.MethodInstance
.MethodInstance
public java.util.List<? extends MethodInstance> methods(java.lang.String name, java.util.List<? extends Type> argTypes)
ReferenceType
name
with the given formal
parameter types, if any.methods
in interface ReferenceType
name
- Name of the method to search for.argTypes
- A list of Type
.MethodInstance
.Type
,
MethodInstance
public boolean hasMethod(MethodInstance mi)
ReferenceType
hasMethod
in interface ReferenceType
public boolean hasMethodImpl(MethodInstance mi)
ReferenceType
hasMethodImpl
in interface ReferenceType