public class TypeVariableDefinition extends Expression implements ITypeVariableDefinition, ITypeVariableDefinitionExpression
_type_tokens, UNDEF_FILE, UNDEF_FUNCTION, UNDEF_MODULEEMPTY_ARRAY| Constructor and Description |
|---|
TypeVariableDefinition(IType enclosingType,
boolean forFunction) |
TypeVariableDefinition(IType enclosingType,
IGenericTypeVariable typeVar) |
TypeVariableDefinition(IType enclosingType,
IGenericTypeVariable typeVar,
TypeVariableDefinitionImpl typeVarDef,
TypeVariableType typeVarType) |
evaluate, getContextType, getReturnType, isNullSafe, isUncheckedaddExceptionsFrom, addParseException, addParseException, addParseException, addParseExceptions, addParseIssues, addParseWarning, addParseWarning, addParseWarnings, addToken, adjustColumn, adjustLineNum, assignTokens, clearParseExceptions, clearParseTreeInformation, clearParseWarnings, compactParseTree, findAncestorParsedElementByType, findDeclaringStatement, findLineNumberOfDeclaration, findRootParsedElement, getAnnotations, getColumn, getContainedParsedElementsByType, getContainedParsedElementsByTypes, getContainedParsedElementsByTypesWithIgnoreSet, getEnclosingFeatureInfo, getFunctionName, getGosuClass, getGosuProgram, getImmediateParseIssue, getImmediateParseIssues, getLineNum, getLocation, getModule, getParent, getParseExceptions, getParseIssues, getParseWarnings, getQualifyingEnclosingTypeInfo, getTokens, hasImmediateParseIssue, hasImmediateParseWarning, hasImmediateParseWarnings, hasParseException, hasParseExceptions, hasParseIssue, hasParseIssues, hasParseWarning, hasParseWarnings, initEmptyParseTree, initLocation, isCompileTimeConstant, isSuppressed, isSuppressed, isSynthetic, makeDoubleValue, makeFloatValue, makeInteger, makeLong, removeParseException, removeParseWarning, removeParseWarningRecursively, setGosuProgram, setLineNum, setLocation, setParent, setSynthetic, shouldClearParseInfo, visitfinalize, getClass, notify, notifyAll, wait, wait, waitaddExceptionsFrom, addParseException, addParseException, addParseWarning, addParseWarning, clearParseExceptions, clearParseTreeInformation, clearParseWarnings, findAncestorParsedElementByType, findDeclaringStatement, findRootParsedElement, getColumn, getContainedParsedElementsByType, getContainedParsedElementsByTypes, getContainedParsedElementsByTypesWithIgnoreSet, getFunctionName, getGosuClass, getGosuProgram, getImmediateParseIssue, getImmediateParseIssues, getLineNum, getLocation, getModule, getParent, getParseExceptions, getParseIssues, getParseWarnings, getReturnType, getTokens, hasImmediateParseIssue, hasImmediateParseWarnings, hasParseException, hasParseExceptions, hasParseIssue, hasParseIssues, hasParseWarning, hasParseWarnings, isCompileTimeConstant, isSuppressed, isSynthetic, setLocation, setParent, visitpublic TypeVariableDefinition(IType enclosingType, boolean forFunction)
public TypeVariableDefinition(IType enclosingType, IGenericTypeVariable typeVar)
public TypeVariableDefinition(IType enclosingType, IGenericTypeVariable typeVar, TypeVariableDefinitionImpl typeVarDef, TypeVariableType typeVarType)
public TypeVariableType getType()
ExpressiongetType in interface ITypeVariableDefinitiongetType in interface IHasTypegetType in class Expressionpublic TypeVariableType getTypeImpl()
getTypeImpl in class Expressionpublic void setType(IType type)
ExpressionsetType in class Expressionpublic IType getEnclosingType()
getEnclosingType in interface ITypeVariableDefinitionpublic void setEnclosingType(IType enclosingType)
setEnclosingType in interface ITypeVariableDefinitionpublic String getName()
getName in interface ITypeVariableDefinitionpublic void setName(String strName)
public GenericTypeVariable getTypeVar()
getTypeVar in interface ITypeVariableDefinitionpublic Object evaluate()
evaluate in interface IExpressionevaluate in class Expressionpublic String toString()
ExpressiontoString in class Expressionpublic static IGenericTypeVariable[] getTypeVars(List<ITypeVariableDefinitionExpression> typeVarDefs)
public int getNameOffset(String identifierName)
getNameOffset in interface IParsedElementWithAtLeastOneDeclarationpublic void setNameOffset(int iOffset,
String identifierName)
setNameOffset in interface IParsedElementWithAtLeastOneDeclarationpublic boolean declares(String identifierName)
declares in interface IParsedElementWithAtLeastOneDeclarationpublic String[] getDeclarations()
getDeclarations in interface IParsedElementWithAtLeastOneDeclarationpublic ITypeVariableDefinition clone()
clone in interface ITypeVariableDefinitionclone in class Objectpublic IType getBoundingType()
getBoundingType in interface ITypeVariableDefinitionpublic void setBoundingType(IType type)
public Variance getVariance()
getVariance in interface ITypeVariableDefinitionpublic void setVariance(Variance variance)
setVariance in interface ITypeVariableDefinitionpublic ITypeVariableDefinition getTypeVarDef()
getTypeVarDef in interface ITypeVariableDefinitionExpressionpublic void setTypeVarDef(TypeVariableDefinitionImpl typeVarDef)
Copyright © 2016. All rights reserved.