public class GenericInterfaceDecl extends InterfaceDecl implements Cloneable, GenericTypeDecl
SimpleSet.SimpleSetImpl
Modifier and Type | Field and Description |
---|---|
protected Map |
instanceOf_TypeDecl_values |
protected List |
lookupParTypeDecl_ArrayList_list |
protected Map |
lookupParTypeDecl_ArrayList_values |
protected Map |
lookupParTypeDecl_ParTypeAccess_values |
protected boolean |
rawType_computed |
protected TypeDecl |
rawType_value |
protected Map |
subtype_TypeDecl_values |
protected boolean |
usesTypeVariable_computed |
protected boolean |
usesTypeVariable_initialized |
protected boolean |
usesTypeVariable_value |
protected int |
usesTypeVariable_visited |
ancestorMethods_String_values, castingConversionTo_TypeDecl_values, implementedInterfaces_computed, implementedInterfaces_value, isCircular_computed, isCircular_initialized, isCircular_value, isCircular_visited, isStatic_computed, isStatic_value, memberFields_String_values, memberFieldsMap_computed, memberFieldsMap_value, memberTypes_String_values, methodsSignatureMap_computed, methodsSignatureMap_value, sootClass_computed, sootClass_value
jvmName_computed, jvmName_value, narrowingConversionTo_TypeDecl_values, unboxed_computed, unboxed_value
accessibleFrom_TypeDecl_values, accessibleFromExtend_TypeDecl_values, accessibleFromPackage_String_values, accessorCounter, anonymousIndex, arrayType_computed, arrayType_value, boxed_computed, boxed_value, clinit, componentType_computed, componentType_value, constructors_computed, constructors_value, containedIn_TypeDecl_values, createEnumArray_TypeDecl_values, createEnumIndex_EnumConstant_values, createEnumMethod_TypeDecl_values, dimension_computed, dimension_value, elementType_computed, elementType_value, enclosingVariables_computed, enclosingVariables_value, erasure_computed, erasure_value, fullName_computed, fullName_value, getSootClassDecl_computed, getSootClassDecl_value, getSootField_String_TypeDecl_values, getSootType_computed, getSootType_value, hasAbstract_computed, hasAbstract_value, IDend, IDstart, inExplicitConstructorInvocation_computed, inExplicitConstructorInvocation_value, innerClassesAttributeEntries_computed, innerClassesAttributeEntries_value, inStaticContext_computed, inStaticContext_value, involvesTypeParameters_computed, involvesTypeParameters_initialized, involvesTypeParameters_value, involvesTypeParameters_visited, isAnonymous_computed, isAnonymous_value, isCheckedException_computed, isCheckedException_value, isDAbefore_Variable_values, isDUbefore_Variable_values, isException_computed, isException_value, isIterable_computed, isIterable_value, isObject_computed, isObject_value, isPublic_computed, isPublic_value, isString_computed, isString_value, isUncheckedException_computed, isUncheckedException_value, localFields_String_values, localFieldsMap_computed, localFieldsMap_value, localMethodsSignatureMap_computed, localMethodsSignatureMap_value, localTypeDecls_String_values, lookupMethod_String_values, lookupType_String_values, lookupVariable_String_values, mayCatch_TypeDecl_values, methodInvocationConversionTo_TypeDecl_values, methodsNameMap_computed, methodsNameMap_value, needsClinit_computed, needsClinit_value, packageName_computed, packageName_value, sameStructure_TypeDecl_values, sourceTypeDecl_computed, sourceTypeDecl_value, tokenString_ID, typeError_computed, typeError_value, typeException_computed, typeException_value, typeName_computed, typeName_value, typeObject_computed, typeObject_value, typeRuntimeException_computed, typeRuntimeException_value, unimplementedMethods_computed, unimplementedMethods_value, uniqueIndex_computed, uniqueIndex_value, unknownType_computed, unknownType_value, unqualifiedLookupMethod_String_values
children, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, in$Circle, is$Final, numChildren, parent, PRIMITIVE_PACKAGE_NAME, state
Constructor and Description |
---|
GenericInterfaceDecl() |
GenericInterfaceDecl(Modifiers p0,
String p1,
List<Access> p2,
List<BodyDecl> p3,
List<TypeVariable> p4) |
GenericInterfaceDecl(Modifiers p0,
Symbol p1,
List<Access> p2,
List<BodyDecl> p3,
List<TypeVariable> p4) |
Modifier and Type | Method and Description |
---|---|
void |
addBodyDecl(BodyDecl node)
Append an element to the BodyDecl list.
|
void |
addBodyDeclNoTransform(BodyDecl node) |
void |
addSuperInterfaceId(Access node)
Append an element to the SuperInterfaceId list.
|
void |
addSuperInterfaceIdNoTransform(Access node) |
void |
addTypeParameter(TypeVariable node)
Append an element to the TypeParameter list.
|
void |
addTypeParameterNoTransform(TypeVariable node) |
SimpleSet |
addTypeVariables(SimpleSet c,
String name) |
GenericInterfaceDecl |
clone() |
GenericInterfaceDecl |
copy() |
List |
createArgumentList(ArrayList params) |
boolean |
Define_boolean_isNestedType(ASTNode caller,
ASTNode child) |
SimpleSet |
Define_SimpleSet_lookupType(ASTNode caller,
ASTNode child,
String name) |
TypeDecl |
Define_TypeDecl_enclosingType(ASTNode caller,
ASTNode child) |
TypeDecl |
Define_TypeDecl_genericDecl(ASTNode caller,
ASTNode child) |
void |
flushCache() |
void |
flushCollectionCache() |
GenericInterfaceDecl |
fullCopy()
Create a deep copy of the AST subtree at this node.
|
BodyDecl |
getBodyDecl(int i)
Retrieves the element at index
i in the BodyDecl list.. |
List<BodyDecl> |
getBodyDeclList()
Retrieves the BodyDecl list.
|
List<BodyDecl> |
getBodyDeclListNoTransform()
Retrieves the BodyDecl list.
|
List<BodyDecl> |
getBodyDecls()
Retrieves the BodyDecl list.
|
List<BodyDecl> |
getBodyDeclsNoTransform()
Retrieves the BodyDecl list.
|
String |
getID()
Retrieves the value for the lexeme ID.
|
Modifiers |
getModifiers()
Retrieves the Modifiers child.
|
Modifiers |
getModifiersNoTransform()
Retrieves the Modifiers child.
|
int |
getNumBodyDecl()
Retrieves the number of children in the BodyDecl list.
|
int |
getNumBodyDeclNoTransform()
Retrieves the number of children in the BodyDecl list.
|
int |
getNumSuperInterfaceId()
Retrieves the number of children in the SuperInterfaceId list.
|
int |
getNumSuperInterfaceIdNoTransform()
Retrieves the number of children in the SuperInterfaceId list.
|
int |
getNumTypeParameter()
Retrieves the number of children in the TypeParameter list.
|
int |
getNumTypeParameterNoTransform()
Retrieves the number of children in the TypeParameter list.
|
Access |
getSuperInterfaceId(int i)
Retrieves the element at index
i in the SuperInterfaceId list.. |
List<Access> |
getSuperInterfaceIdList()
Retrieves the SuperInterfaceId list.
|
List<Access> |
getSuperInterfaceIdListNoTransform()
Retrieves the SuperInterfaceId list.
|
List<Access> |
getSuperInterfaceIds()
Retrieves the SuperInterfaceId list.
|
List<Access> |
getSuperInterfaceIdsNoTransform()
Retrieves the SuperInterfaceId list.
|
TypeVariable |
getTypeParameter(int i)
Retrieves the element at index
i in the TypeParameter list.. |
List<TypeVariable> |
getTypeParameterList()
Retrieves the TypeParameter list.
|
List<TypeVariable> |
getTypeParameterListNoTransform()
Retrieves the TypeParameter list.
|
List<TypeVariable> |
getTypeParameters()
Retrieves the TypeParameter list.
|
List<TypeVariable> |
getTypeParametersNoTransform()
Retrieves the TypeParameter list.
|
void |
init$Children()
Initializes the child array to the correct size.
|
boolean |
instanceOf(TypeDecl type) |
boolean |
isGenericType() |
TypeDecl |
lookupParTypeDecl(ArrayList list) |
TypeDecl |
lookupParTypeDecl(ParTypeAccess p) |
TypeDecl |
makeGeneric(Signatures.ClassSignature s) |
boolean |
mayHaveRewrite() |
protected int |
numChildren() |
TypeDecl |
rawType() |
ASTNode |
rewriteTo() |
void |
setBodyDecl(BodyDecl node,
int i)
Replaces the BodyDecl list element at index
i with the new node node . |
void |
setBodyDeclList(List<BodyDecl> list)
Replaces the BodyDecl list.
|
void |
setID(String value)
Replaces the lexeme ID.
|
void |
setID(Symbol symbol)
JastAdd-internal setter for lexeme ID using the Beaver parser.
|
void |
setModifiers(Modifiers node)
Replaces the Modifiers child.
|
void |
setSuperInterfaceId(Access node,
int i)
Replaces the SuperInterfaceId list element at index
i with the new node node . |
void |
setSuperInterfaceIdList(List<Access> list)
Replaces the SuperInterfaceId list.
|
void |
setTypeParameter(TypeVariable node,
int i)
Replaces the TypeParameter list element at index
i with the new node node . |
void |
setTypeParameterList(List<TypeVariable> list)
Replaces the TypeParameter list.
|
InterfaceDecl |
substitutedInterfaceDecl(Parameterization parTypeDecl) |
boolean |
subtype(TypeDecl type) |
boolean |
supertypeParClassDecl(ParClassDecl type) |
boolean |
supertypeParInterfaceDecl(ParInterfaceDecl type) |
void |
toString(StringBuffer s) |
void |
typeCheck() |
TypeDecl |
typeThrowable() |
boolean |
usesTypeVariable() |
accessControl, ancestorMethods, bridgeCandidates, castingConversionTo, checkModifiers, createStaticClassField, createStaticClassMethod, Define_boolean_inExtendsOrImplements, Define_boolean_withinDeprecatedAnnotation, Define_boolean_withinSuppressWarnings, Define_NameType_nameType, Define_TypeDecl_hostType, implementedInterfaces, isAbstract, isCircular, isInterfaceDecl, isStatic, isSupertypeOfArrayDecl, isSupertypeOfClassDecl, isSupertypeOfInterfaceDecl, jimplify1phase2, lookupSuperConstructor, memberFields, memberFieldsMap, memberTypes, methodHolder, methodsSignatureMap, nameCheck, sootClass, sootTypeModifiers, superinterfacesIterator, supertypeArrayDecl, supertypeClassDecl, supertypeInterfaceDecl, typeDescriptor, unknownMethod
binaryNumericPromotion, emitCastTo, isBoolean, isIntegralType, isNumericType, isPrimitive, isReferenceType, isSupertypeOfNullType, isValidAnnotationMethodReturnType, jvmName, narrowingConversionTo, referenceClassFieldName, stringPromotion, supertypeNullType, typeBoolean, typeByte, typeChar, typeDouble, typeFloat, typeInt, typeLong, typeShort, unaryNumericPromotion, unboxed, unboxingConversionTo, wideningConversionTo
accessibleFrom, accessibleFromExtend, accessibleFromPackage, add, add, addAccessor, addAttributes, addConstructor, addEnclosingVariables, addMemberClass, addMemberField, addMemberMethod, addNestedType, addsIndentationLevel, addUsedNestedType, allMethodsAbstract, andBitwise, annotation, arrayType, assignableToInt, assignConversionTo, asWildcardExtends, asWildcardSuper, bitNot, boxed, boxingConversionTo, cast, commensurateWith, compilationUnit, componentType, constructors, containedIn, contains, createAssertionsDisabled, createBoundAccess, createEnumArray, createEnumIndex, createEnumMethod, createQualifiedAccess, declaredBeforeUse, declaredBeforeUse, Define_boolean_enclosedByExceptionHandler, Define_boolean_insideLoop, Define_boolean_insideSwitch, Define_boolean_inStaticContext, Define_boolean_isAnonymous, Define_boolean_isDAbefore, Define_boolean_isDest, Define_boolean_isDUbefore, Define_boolean_isLocalClass, Define_boolean_isSource, Define_boolean_mayBeAbstract, Define_boolean_mayBeFinal, Define_boolean_mayBeNative, Define_boolean_mayBePrivate, Define_boolean_mayBeProtected, Define_boolean_mayBePublic, Define_boolean_mayBeStatic, Define_boolean_mayBeStrictfp, Define_boolean_mayBeSynchronized, Define_boolean_mayBeTransient, Define_boolean_mayBeVolatile, Define_boolean_mayUseAnnotationTarget, Define_boolean_reportUnreachable, Define_Collection_lookupConstructor, Define_Collection_lookupMethod, Define_Collection_lookupSuperConstructor, Define_SimpleSet_lookupVariable, Define_String_methodHost, Define_TypeDecl_componentType, Define_TypeDecl_enclosingInstance, Define_TypeDecl_returnType, Define_VariableScope_outerScope, dimension, div, dumpString, elementType, emitBoxingOperation, emitCastTo, emitUnboxingOperation, enclosedBy, encloses, enclosing, enclosingBlock, enclosingBodyDecl, enclosingInstance, enclosingType, enclosingVariables, eqIsTrue, erasure, fieldsIterator, findSingleVariable, fullName, getAccessor, getAccessorSource, getSootClassDecl, getSootField, getSootType, hasAbstract, hasAnnotationSafeVarargs, hasAnnotationSuppressWarnings, hasEnclosingTypeDecl, hasField, hasMethod, hasNext, hasPackage, hasType, hostPackage, hostType, identityConversionTo, inExplicitConstructorInvocation, innerClassesAttributeEntries, inStaticContext, involvesTypeParameters, isAnnotationDecl, isAnonymous, isAnonymousInNonStaticContext, isArrayDecl, isByte, isChar, isCheckedException, isClassDecl, isDAbefore, isDeprecated, isDouble, isDUbefore, isEmpty, isEnumDecl, isException, isFinal, isFloat, isInnerClass, isInnerType, isInnerTypeOf, isInt, isIterable, isLocalClass, isLong, isMemberType, isNestedType, isNull, isObject, isParameterizedType, isPrimitiveType, isPrivate, isProtected, isPublic, isRawType, isReifiable, isShort, isSingleton, isSingleton, isStrictfp, isString, isSupertypeOfPrimitiveType, isSupertypeOfVoidType, isSynthetic, isTopLevelType, isTypeVariable, isUnboxedPrimitive, isUncheckedConversionTo, isUncheckedException, isUnknown, isVoid, isWildcard, iterator, jimplify2, jimplify2clinit, leIsTrue, localFields, localFieldsMap, localMethodsIterator, localMethodsSignature, localMethodsSignatureMap, localTypeDecls, lookupConstructor, lookupGLBType, lookupLUBType, lookupMethod, lookupType, lookupType, lookupVariable, lookupWildcardExtends, lookupWildcardSuper, lshift, ltIsTrue, mayAccess, mayAccess, mayCatch, memberMethods, methodInvocationConversionTo, methodsIterator, methodsNameMap, methodsSignature, methodWithArgs, minus, mod, mul, name, needsClinit, needsEnclosing, needsSuperEnclosing, nestedTypes, next, nextAnonymousIndex, orBitwise, original, packageName, plus, ppBodyDecls, primitiveClassName, questionColon, refined_TypeHierarchyCheck_TypeDecl_typeCheck, remove, rshift, sameSignature, sameStructure, size, sootRef, sourceNameWithoutPath, sourceTypeDecl, stringConversion, sub, substitute, substitute, substituteParameterType, substituteReturnType, superEnclosing, supertypeClassDeclSubstituted, supertypeGenericClassDecl, supertypeGenericClassDeclSubstituted, supertypeGenericInterfaceDecl, supertypeGenericInterfaceDeclSubstituted, supertypeGLBType, supertypeInterfaceDeclSubstituted, supertypeLUBType, supertypePrimitiveType, supertypeRawClassDecl, supertypeRawInterfaceDecl, supertypeTypeVariable, supertypeVoidType, supertypeWildcard, supertypeWildcardExtends, supertypeWildcardSuper, topLevelType, transformation, typeCloneable, typeError, typeException, typeName, typeObject, typeRuntimeException, typeSerializable, typeVoid, typeWildcard, unimplementedMethods, uniqueIndex, unknownType, unqualifiedLookupMethod, urshift, usedNestedTypes, variableSize, withinBodyThatSubclasses, withinDeprecatedAnnotation, withinSuppressWarnings, xorBitwise
addChild, asImmediate, asLocal, asLocal, asRValue, beginExceptionRange, branchTarget, checkDUeverywhere, checkEnum, checkUncheckedConversion, checkWarnings, clearLocations, cloneSubtree, collectBranches, collectEnclosingVariables, collectErrors, collectExceptions, collectFinally, collectTypesToHierarchy, collectTypesToSignatures, Define_Annotation_lookupAnnotation, Define_ArrayList_exceptionRanges, Define_ASTNode_enclosingBlock, Define_BodyDecl_enclosingBodyDecl, Define_boolean_handlesException, Define_boolean_hasPackage, Define_boolean_inExplicitConstructorInvocation, Define_boolean_inhModifiedInScope, Define_boolean_isAnonymousDecl, Define_boolean_isCatchParam, Define_boolean_isConstructorParameter, Define_boolean_isExceptionHandlerParameter, Define_boolean_isExplicitGenericConstructorAccess, Define_boolean_isIncOrDec, Define_boolean_isMemberType, Define_boolean_isMethodParameter, Define_boolean_reachable, Define_boolean_reachableCatchClause, Define_boolean_resourcePreviouslyDeclared, Define_boolean_variableArityValid, Define_Case_bind, Define_CatchClause_catchClause, Define_ClassInstanceExpr_getClassInstanceExpr, Define_Collection_TypeDecl__caughtExceptions, Define_CompilationUnit_compilationUnit, Define_ConstructorDecl_constructorDecl, Define_ConstructorDecl_unknownConstructor, Define_ElementValue_lookupElementTypeValue, Define_Expr_nestedScope, Define_GLBType_lookupGLBType, Define_int_localNum, Define_LabeledStmt_lookupLabel, Define_LUBType_lookupLUBType, Define_MethodDecl_unknownMethod, Define_SimpleSet_allImportedTypes, Define_soot_jimple_Stmt_condition_false_label, Define_soot_jimple_Stmt_condition_true_label, Define_String_hostPackage, Define_String_packageName, Define_String_typeDeclIndent, Define_TypeDecl_assignConvertedType, Define_TypeDecl_declType, Define_TypeDecl_enclosingAnnotationDecl, Define_TypeDecl_expectedType, Define_TypeDecl_lookupType, Define_TypeDecl_lookupWildcardExtends, Define_TypeDecl_lookupWildcardSuper, Define_TypeDecl_superType, Define_TypeDecl_switchType, Define_TypeDecl_typeBoolean, Define_TypeDecl_typeByte, Define_TypeDecl_typeChar, Define_TypeDecl_typeCloneable, Define_TypeDecl_typeDouble, Define_TypeDecl_typeError, Define_TypeDecl_typeException, Define_TypeDecl_typeFloat, Define_TypeDecl_typeInt, Define_TypeDecl_typeLong, Define_TypeDecl_typeNull, Define_TypeDecl_typeNullPointerException, Define_TypeDecl_typeObject, Define_TypeDecl_typeRuntimeException, Define_TypeDecl_typeSerializable, Define_TypeDecl_typeShort, Define_TypeDecl_typeString, Define_TypeDecl_typeThrowable, Define_TypeDecl_typeVoid, Define_TypeDecl_typeWildcard, Define_TypeDecl_unknownType, Define_Variable_unknownField, definesLabel, definiteAssignment, dumpTree, dumpTree, dumpTreeNoRewrite, dumpTreeNoRewrite, duringAnnotations, duringAnonymousClasses, duringBoundNames, duringDU, duringEnums, duringGenericTypeVariables, duringImplicitConstructor, duringLiterals, duringNameResolution, duringSyntacticClassification, duringVariableDeclarationTransformation, emitConstant, end, endExceptionRange, error, errorPrefix, exceptionHandling, extractIndent, extractSingleType, flushCaches, getChild, getChildNoTransform, getIndexOfChild, getNumChild, getNumChildNoTransform, getParent, in$Circle, in$Circle, indent, insertChild, is$Final, is$Final, isDescendantTo, isStringAdd, jimplify1phase1, jimplify2, lineNumber, location, newLabel, options, putSimpleSetElement, reachedException, removeChild, removeInstanceMethods, removeInstanceVariables, replace, setChild, setEnd, setLocation, setParent, setStart, sourceFile, start, state, toString, transformEnumConstructors, unassignedEverywhere, varChildIndex, varChildIndex, warning, warningPrefix, with
getColumn, getEnd, getId, getLine, getStart, makePosition
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fullName, original, typeName
forEachRemaining
forEach, spliterator
protected boolean rawType_computed
protected TypeDecl rawType_value
protected Map lookupParTypeDecl_ArrayList_values
protected List lookupParTypeDecl_ArrayList_list
protected int usesTypeVariable_visited
protected boolean usesTypeVariable_computed
protected boolean usesTypeVariable_initialized
protected boolean usesTypeVariable_value
protected Map subtype_TypeDecl_values
protected Map instanceOf_TypeDecl_values
protected Map lookupParTypeDecl_ParTypeAccess_values
public GenericInterfaceDecl()
public GenericInterfaceDecl(Modifiers p0, String p1, List<Access> p2, List<BodyDecl> p3, List<TypeVariable> p4)
public void flushCache()
flushCache
in class InterfaceDecl
public void flushCollectionCache()
flushCollectionCache
in class InterfaceDecl
public GenericInterfaceDecl clone() throws CloneNotSupportedException
clone
in class InterfaceDecl
CloneNotSupportedException
public GenericInterfaceDecl copy()
copy
in class InterfaceDecl
public GenericInterfaceDecl fullCopy()
fullCopy
in class InterfaceDecl
public InterfaceDecl substitutedInterfaceDecl(Parameterization parTypeDecl)
substitutedInterfaceDecl
in class InterfaceDecl
public void toString(StringBuffer s)
toString
in class InterfaceDecl
public TypeDecl makeGeneric(Signatures.ClassSignature s)
makeGeneric
in interface GenericTypeDecl
makeGeneric
in class InterfaceDecl
public SimpleSet addTypeVariables(SimpleSet c, String name)
addTypeVariables
in interface GenericTypeDecl
public List createArgumentList(ArrayList params)
createArgumentList
in interface GenericTypeDecl
public void init$Children()
init$Children
in class InterfaceDecl
protected int numChildren()
numChildren
in class InterfaceDecl
public boolean mayHaveRewrite()
mayHaveRewrite
in class InterfaceDecl
public void setModifiers(Modifiers node)
setModifiers
in class InterfaceDecl
node
- The new node to replace the Modifiers child.public Modifiers getModifiers()
getModifiers
in class InterfaceDecl
public Modifiers getModifiersNoTransform()
This method does not invoke AST transformations.
getModifiersNoTransform
in class InterfaceDecl
public void setID(String value)
setID
in class InterfaceDecl
value
- The new value for the lexeme ID.public void setID(Symbol symbol)
setID
in class InterfaceDecl
public String getID()
getID
in class InterfaceDecl
public void setSuperInterfaceIdList(List<Access> list)
setSuperInterfaceIdList
in class InterfaceDecl
list
- The new list node to be used as the SuperInterfaceId list.public int getNumSuperInterfaceId()
getNumSuperInterfaceId
in class InterfaceDecl
public int getNumSuperInterfaceIdNoTransform()
getNumSuperInterfaceIdNoTransform
in class InterfaceDecl
public Access getSuperInterfaceId(int i)
i
in the SuperInterfaceId list..getSuperInterfaceId
in class InterfaceDecl
i
- Index of the element to return.i
in the SuperInterfaceId list.public void addSuperInterfaceId(Access node)
addSuperInterfaceId
in class InterfaceDecl
node
- The element to append to the SuperInterfaceId list.public void addSuperInterfaceIdNoTransform(Access node)
addSuperInterfaceIdNoTransform
in class InterfaceDecl
public void setSuperInterfaceId(Access node, int i)
i
with the new node node
.setSuperInterfaceId
in class InterfaceDecl
node
- The new node to replace the old list element.i
- The list index of the node to be replaced.public List<Access> getSuperInterfaceIds()
getSuperInterfaceIds
in class InterfaceDecl
public List<Access> getSuperInterfaceIdsNoTransform()
This method does not invoke AST transformations.
getSuperInterfaceIdsNoTransform
in class InterfaceDecl
public List<Access> getSuperInterfaceIdList()
getSuperInterfaceIdList
in class InterfaceDecl
public List<Access> getSuperInterfaceIdListNoTransform()
This method does not invoke AST transformations.
getSuperInterfaceIdListNoTransform
in class InterfaceDecl
public void setBodyDeclList(List<BodyDecl> list)
setBodyDeclList
in class InterfaceDecl
list
- The new list node to be used as the BodyDecl list.public int getNumBodyDecl()
getNumBodyDecl
in class InterfaceDecl
public int getNumBodyDeclNoTransform()
getNumBodyDeclNoTransform
in class InterfaceDecl
public BodyDecl getBodyDecl(int i)
i
in the BodyDecl list..getBodyDecl
in class InterfaceDecl
i
- Index of the element to return.i
in the BodyDecl list.public void addBodyDecl(BodyDecl node)
addBodyDecl
in class InterfaceDecl
node
- The element to append to the BodyDecl list.public void addBodyDeclNoTransform(BodyDecl node)
addBodyDeclNoTransform
in class InterfaceDecl
public void setBodyDecl(BodyDecl node, int i)
i
with the new node node
.setBodyDecl
in class InterfaceDecl
node
- The new node to replace the old list element.i
- The list index of the node to be replaced.public List<BodyDecl> getBodyDecls()
getBodyDecls
in class InterfaceDecl
public List<BodyDecl> getBodyDeclsNoTransform()
This method does not invoke AST transformations.
getBodyDeclsNoTransform
in class InterfaceDecl
public List<BodyDecl> getBodyDeclList()
getBodyDeclList
in class InterfaceDecl
public List<BodyDecl> getBodyDeclListNoTransform()
This method does not invoke AST transformations.
getBodyDeclListNoTransform
in class InterfaceDecl
public void setTypeParameterList(List<TypeVariable> list)
list
- The new list node to be used as the TypeParameter list.public int getNumTypeParameter()
getNumTypeParameter
in interface GenericTypeDecl
public int getNumTypeParameterNoTransform()
public TypeVariable getTypeParameter(int i)
i
in the TypeParameter list..getTypeParameter
in interface GenericTypeDecl
i
- Index of the element to return.i
in the TypeParameter list.public void addTypeParameter(TypeVariable node)
node
- The element to append to the TypeParameter list.public void addTypeParameterNoTransform(TypeVariable node)
public void setTypeParameter(TypeVariable node, int i)
i
with the new node node
.node
- The new node to replace the old list element.i
- The list index of the node to be replaced.public List<TypeVariable> getTypeParameters()
public List<TypeVariable> getTypeParametersNoTransform()
This method does not invoke AST transformations.
public List<TypeVariable> getTypeParameterList()
getTypeParameterList
in interface GenericTypeDecl
public List<TypeVariable> getTypeParameterListNoTransform()
This method does not invoke AST transformations.
public TypeDecl rawType()
rawType
in interface GenericTypeDecl
public TypeDecl lookupParTypeDecl(ArrayList list)
lookupParTypeDecl
in interface GenericTypeDecl
public boolean usesTypeVariable()
usesTypeVariable
in class TypeDecl
public boolean subtype(TypeDecl type)
subtype
in class InterfaceDecl
public boolean supertypeParClassDecl(ParClassDecl type)
supertypeParClassDecl
in class TypeDecl
public boolean supertypeParInterfaceDecl(ParInterfaceDecl type)
supertypeParInterfaceDecl
in class TypeDecl
public boolean instanceOf(TypeDecl type)
instanceOf
in class InterfaceDecl
public boolean isGenericType()
isGenericType
in interface GenericTypeDecl
isGenericType
in class TypeDecl
public TypeDecl lookupParTypeDecl(ParTypeAccess p)
lookupParTypeDecl
in interface GenericTypeDecl
public TypeDecl typeThrowable()
public boolean Define_boolean_isNestedType(ASTNode caller, ASTNode child)
Define_boolean_isNestedType
in class TypeDecl
public TypeDecl Define_TypeDecl_enclosingType(ASTNode caller, ASTNode child)
Define_TypeDecl_enclosingType
in class TypeDecl
public SimpleSet Define_SimpleSet_lookupType(ASTNode caller, ASTNode child, String name)
Define_SimpleSet_lookupType
in class TypeDecl
public TypeDecl Define_TypeDecl_genericDecl(ASTNode caller, ASTNode child)
Define_TypeDecl_genericDecl
in class ASTNode<ASTNode>
public ASTNode rewriteTo()
rewriteTo
in class InterfaceDecl
Copyright © 2020 Sable. All rights reserved.