public class ConstructorType extends AbstractType implements IConstructorType
| Modifier and Type | Field and Description |
|---|---|
protected IType[] |
_argTypes |
protected IConstructorInfo |
_constructor |
protected IType |
_declaringType |
EMPTY_ARRAY, EMPTY_TYPE_ARRAY, EMPTY_TYPE_LIST| Constructor and Description |
|---|
ConstructorType(IConstructorInfo constructor) |
ConstructorType(IType declaringType,
IType[] argTypes) |
getLiteralMetaType, getMetaType, getTheRefclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLiteralMetaType, getMetaType, getSourceFiles, isDynamicprotected IType _declaringType
protected IType[] _argTypes
protected IConstructorInfo _constructor
public ConstructorType(IConstructorInfo constructor)
public IType getIntrinsicType()
public IType getDeclaringType()
getDeclaringType in interface IConstructorTypepublic IType[] getParameterTypes()
getParameterTypes in interface IConstructorTypegetParameterTypes in interface IInvocableTypepublic IConstructorInfo getConstructor()
getConstructor in interface IConstructorTypepublic String getArgSignature()
getArgSignature in interface IConstructorTypepublic String getParamSignature()
getParamSignature in interface IInvocableTypepublic String getDisplayName()
getDisplayName in interface ITypepublic String getRelativeName()
getRelativeName in interface ITypepublic String getNamespace()
getNamespace in interface ITypepublic ITypeLoader getTypeLoader()
getTypeLoader in interface ITypepublic boolean isInterface()
isInterface in interface ITypepublic IType[] getInterfaces()
getInterfaces in interface ITypepublic IType getSupertype()
getSupertype in interface ITypepublic IType getEnclosingType()
getEnclosingType in interface ITypepublic IType getGenericType()
getGenericType in interface ITypepublic boolean isParameterizedType()
isParameterizedType in interface ITypepublic boolean isGenericType()
isGenericType in interface ITypepublic GenericTypeVariable[] getGenericTypeVariables()
getGenericTypeVariables in interface ITypepublic IType getParameterizedType(IType... ofType)
getParameterizedType in interface ITypepublic IType[] getTypeParameters()
getTypeParameters in interface ITypepublic Set getAllTypesInHierarchy()
getAllTypesInHierarchy in interface ITypepublic boolean isPrimitive()
isPrimitive in interface ITypepublic IType getArrayType()
getArrayType in interface ITypepublic Object makeArrayInstance(int iLength)
makeArrayInstance in interface ITypepublic Object getArrayComponent(Object array, int iIndex) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
getArrayComponent in interface ITypeIllegalArgumentExceptionArrayIndexOutOfBoundsExceptionpublic void setArrayComponent(Object array, int iIndex, Object value) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
setArrayComponent in interface ITypeIllegalArgumentExceptionArrayIndexOutOfBoundsExceptionpublic int getArrayLength(Object array) throws IllegalArgumentException
getArrayLength in interface ITypeIllegalArgumentExceptionpublic IType getComponentType()
getComponentType in interface ITypepublic boolean isAssignableFrom(IType type)
isAssignableFrom in interface ITypepublic ITypeInfo getTypeInfo()
getTypeInfo in interface ITypepublic void unloadTypeInfo()
unloadTypeInfo in interface ITypepublic Object readResolve() throws ObjectStreamException
readResolve in interface ITypeObjectStreamExceptionpublic int getModifiers()
getModifiers in interface ITypepublic boolean isAbstract()
isAbstract in interface ITypepublic boolean isDiscarded()
isDiscarded in interface ITypepublic void setDiscarded(boolean bDiscarded)
setDiscarded in interface ITypepublic boolean isCompoundType()
isCompoundType in interface ITypepublic Set<IType> getCompoundTypeComponents()
getCompoundTypeComponents in interface ITypepublic String[] getParameterNames()
getParameterNames in interface IInvocableTypepublic IExpression[] getDefaultValueExpressions()
getDefaultValueExpressions in interface IInvocableTypepublic boolean hasOptionalParams()
hasOptionalParams in interface IInvocableTypeCopyright © 2018. All rights reserved.