public class ParClassDecl extends ClassDecl implements Cloneable, ParTypeDecl, MemberSubstitutor
SimpleSet.SimpleSetImplancestorMethods_String_values, castingConversionTo_TypeDecl_values, hasAbstract_computed, hasAbstract_value, implementedInterfaces_computed, implementedInterfaces_value, interfacesMethodsSignatureMap_computed, interfacesMethodsSignatureMap_value, isCircular_computed, isCircular_initialized, isCircular_value, isCircular_visited, isObject_computed, isObject_value, isString_computed, isString_value, memberFields_String_values, memberFieldsMap_computed, memberFieldsMap_value, memberTypes_String_values, methodsSignatureMap_computed, methodsSignatureMap_value, sootClass_computed, sootClass_valuejvmName_computed, jvmName_value, narrowingConversionTo_TypeDecl_values, unboxed_computed, unboxed_valueaccessibleFrom_TypeDecl_values, accessibleFromExtend_TypeDecl_values, accessibleFromPackage_String_values, accessorCounter, anonymousIndex, arrayType_computed, arrayType_value, boxed_computed, boxed_value, clinit, componentType_computed, componentType_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, getSootClassDecl_computed, getSootClassDecl_value, getSootField_String_TypeDecl_values, getSootType_computed, getSootType_value, IDend, IDstart, inExplicitConstructorInvocation_computed, inExplicitConstructorInvocation_value, innerClassesAttributeEntries_computed, innerClassesAttributeEntries_value, inStaticContext_computed, inStaticContext_value, isAnonymous_computed, isAnonymous_value, isCheckedException_computed, isCheckedException_value, isDAbefore_Variable_values, isDUbefore_Variable_values, isException_computed, isException_value, isIterable_computed, isIterable_value, isPublic_computed, isPublic_value, isStatic_computed, isStatic_value, isUncheckedException_computed, isUncheckedException_value, localFieldsMap_computed, localFieldsMap_value, 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, tokenString_ID, typeError_computed, typeError_value, typeException_computed, typeException_value, typeObject_computed, typeObject_value, typeRuntimeException_computed, typeRuntimeException_value, uniqueIndex_computed, uniqueIndex_value, unknownType_computed, unknownType_value, unqualifiedLookupMethod_String_valueschildren, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, in$Circle, is$Final, numChildren, parent, PRIMITIVE_PACKAGE_NAME, state| Constructor and Description |
|---|
ParClassDecl() |
ParClassDecl(Modifiers p0,
String p1,
List<Access> p2) |
ParClassDecl(Modifiers p0,
Symbol p1,
List<Access> p2) |
| Modifier and Type | Method and Description |
|---|---|
void |
addArgument(Access node)
Append an element to the Argument list.
|
void |
addArgumentNoTransform(Access node) |
void |
addBodyDecl(BodyDecl node)
Append an element to the BodyDecl list.
|
void |
addBodyDeclNoTransform(BodyDecl node) |
void |
addImplements(Access node)
Append an element to the Implements list.
|
void |
addImplementsNoTransform(Access node) |
ParClassDecl |
clone() |
void |
collectErrors()
The collectErrors method is refined so that it calls
the checkWarnings method on each ASTNode to report
unchecked warnings.
|
Collection |
constructors() |
ParClassDecl |
copy() |
Access |
createQualifiedAccess() |
NameType |
Define_NameType_nameType(ASTNode caller,
ASTNode child) |
TypeDecl |
Define_TypeDecl_genericDecl(ASTNode caller,
ASTNode child) |
TypeDecl |
erasure() |
void |
flushCache() |
void |
flushCollectionCache() |
ParClassDecl |
fullCopy()
Create a deep copy of the AST subtree at this node.
|
String |
fullName() |
TypeDecl |
genericDecl() |
Access |
getArgument(int i)
Retrieves the element at index
i in the Argument list.. |
List<Access> |
getArgumentList()
Retrieves the Argument list.
|
List<Access> |
getArgumentListNoTransform()
Retrieves the Argument list.
|
List<Access> |
getArguments()
Retrieves the Argument list.
|
List<Access> |
getArgumentsNoTransform()
Retrieves the Argument list.
|
BodyDecl |
getBodyDecl(int i)
Retrieves the element at index
i in the BodyDecl list.. |
List |
getBodyDeclList()
Retrieves the BodyDecl list.
|
protected int |
getBodyDeclListChildPosition()
Retrieves the child position of 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.
|
Access |
getImplements(int i)
Retrieves the element at index
i in the Implements list.. |
List |
getImplementsList()
Retrieves the Implements list.
|
protected int |
getImplementsListChildPosition()
Retrieves the child position of the Implements list.
|
List<Access> |
getImplementsListNoTransform()
Retrieves the Implements list.
|
List<Access> |
getImplementss()
Retrieves the Implements list.
|
List<Access> |
getImplementssNoTransform()
Retrieves the Implements list.
|
Modifiers |
getModifiers()
Retrieves the Modifiers child.
|
Modifiers |
getModifiersNoTransform()
Retrieves the Modifiers child.
|
int |
getNumArgument()
Retrieves the number of children in the Argument list.
|
int |
getNumArgumentNoTransform()
Retrieves the number of children in the Argument list.
|
int |
getNumBodyDecl()
Retrieves the number of children in the BodyDecl list.
|
int |
getNumBodyDeclNoTransform()
Retrieves the number of children in the BodyDecl list.
|
int |
getNumImplements()
Retrieves the number of children in the Implements list.
|
int |
getNumImplementsNoTransform()
Retrieves the number of children in the Implements list.
|
Access |
getSuperClassAccess()
Retrieves the (optional) SuperClassAccess child.
|
Opt |
getSuperClassAccessOpt() |
protected int |
getSuperClassAccessOptChildPosition()
Retrieves the child position of the optional child SuperClassAccess.
|
Opt<Access> |
getSuperClassAccessOptNoTransform()
Retrieves the optional node for child SuperClassAccess.
|
boolean |
hasSuperClassAccess()
Check whether the optional SuperClassAccess child exists.
|
TypeDecl |
hostType() |
void |
init$Children()
Initializes the child array to the correct size.
|
boolean |
instanceOf(TypeDecl type) |
boolean |
involvesTypeParameters() |
boolean |
isParameterizedType() |
boolean |
isRawType() |
boolean |
isReifiable()
A type is reifiable if it either refers to a non-parameterized type,
is a raw type, is a parameterized type with only unbound wildcard
parameters or is an array type with a reifiable type parameter.
|
SimpleSet |
localFields(String name) |
HashMap |
localMethodsSignatureMap() |
SimpleSet |
localTypeDecls(String name) |
boolean |
mayHaveRewrite() |
String |
nameWithArgs() |
protected int |
numChildren() |
int |
numTypeParameter() |
TypeDecl |
original() |
ASTNode |
rewriteTo() |
boolean |
sameArgument(ParTypeDecl decl) |
boolean |
sameSignature(Access a) |
boolean |
sameSignature(ArrayList list) |
boolean |
sameStructure(TypeDecl t) |
void |
setArgument(Access node,
int i)
Replaces the Argument list element at index
i with the new node node. |
void |
setArgumentList(List<Access> list)
Replaces the Argument list.
|
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 |
setImplements(Access node,
int i)
Replaces the Implements list element at index
i with the new node node. |
void |
setImplementsList(List<Access> list)
Replaces the Implements list.
|
void |
setModifiers(Modifiers node)
Replaces the Modifiers child.
|
void |
setSuperClassAccess(Access node)
Replaces the (optional) SuperClassAccess child.
|
void |
setSuperClassAccessOpt(Opt<Access> opt)
Replaces the optional node for the SuperClassAccess child.
|
TypeDecl |
sourceTypeDecl() |
Access |
substitute(Parameterization parTypeDecl) |
TypeDecl |
substitute(TypeVariable typeVariable) |
boolean |
subtype(TypeDecl type) |
boolean |
supertypeClassDecl(ClassDecl type) |
boolean |
supertypeGenericClassDecl(GenericClassDecl type) |
boolean |
supertypeParClassDecl(ParClassDecl type) |
boolean |
supertypeParInterfaceDecl(ParInterfaceDecl type) |
boolean |
supertypeRawClassDecl(RawClassDecl type) |
boolean |
supertypeRawInterfaceDecl(RawInterfaceDecl type) |
TypeDecl |
topLevelType() |
void |
toString(StringBuffer s) |
void |
transformation() |
String |
typeName() |
TypeVariable |
typeParameter(int index) |
Collection |
unimplementedMethods() |
boolean |
usesTypeVariable() |
accessControl, add, ancestorMethods, annotation, bridgeCandidates, cast, castingConversionTo, checkModifiers, Define_boolean_inExtendsOrImplements, Define_boolean_mayBeFinal, Define_boolean_withinDeprecatedAnnotation, Define_boolean_withinSuppressWarnings, Define_TypeDecl_hostType, eqIsTrue, exceptionHandling, hasAbstract, hasSuperclass, implementedInterfaces, interfacesIterator, interfacesMethodsIterator, interfacesMethodsSignature, interfacesMethodsSignatureMap, isCircular, isClassDecl, isInnerClass, isObject, isString, isSupertypeOfArrayDecl, isSupertypeOfClassDecl, isSupertypeOfInterfaceDecl, jimplify1phase2, lineNumber, lookupSuperConstructor, makeGeneric, memberFields, memberFieldsMap, memberTypes, methodsSignatureMap, nameCheck, noConstructor, questionColon, sootClass, substitutedClassDecl, superclass, superEnclosing, supertypeArrayDecl, supertypeInterfaceDecl, typeDescriptorbinaryNumericPromotion, emitCastTo, isBoolean, isIntegralType, isNumericType, isPrimitive, isReferenceType, isSupertypeOfNullType, isValidAnnotationMethodReturnType, jvmName, narrowingConversionTo, referenceClassFieldName, stringPromotion, supertypeNullType, typeBoolean, typeByte, typeChar, typeDouble, typeFloat, typeInt, typeLong, typeShort, unaryNumericPromotion, unboxed, unboxingConversionTo, wideningConversionToaccessibleFrom, accessibleFromExtend, accessibleFromPackage, add, addAccessor, addAttributes, addConstructor, addEnclosingVariables, addMemberClass, addMemberField, addMemberMethod, addNestedType, addsIndentationLevel, addUsedNestedType, allMethodsAbstract, andBitwise, arrayType, assignableToInt, assignConversionTo, asWildcardExtends, asWildcardSuper, bitNot, boxed, boxingConversionTo, commensurateWith, compilationUnit, componentType, containedIn, contains, createAssertionsDisabled, createBoundAccess, createEnumArray, createEnumIndex, createEnumMethod, createStaticClassField, createStaticClassMethod, 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_isNestedType, Define_boolean_isSource, Define_boolean_mayBeAbstract, 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_lookupType, Define_SimpleSet_lookupVariable, Define_String_methodHost, Define_TypeDecl_componentType, Define_TypeDecl_enclosingInstance, Define_TypeDecl_enclosingType, Define_TypeDecl_returnType, Define_VariableScope_outerScope, dimension, div, dumpString, elementType, emitBoxingOperation, emitCastTo, emitUnboxingOperation, enclosedBy, encloses, enclosing, enclosingBlock, enclosingBodyDecl, enclosingInstance, enclosingType, enclosingVariables, fieldsIterator, findSingleVariable, getAccessor, getAccessorSource, getSootClassDecl, getSootField, getSootType, hasAnnotationSafeVarargs, hasAnnotationSuppressWarnings, hasEnclosingTypeDecl, hasField, hasMethod, hasNext, hasPackage, hasType, hostPackage, identityConversionTo, inExplicitConstructorInvocation, innerClassesAttributeEntries, inStaticContext, isAbstract, isAnnotationDecl, isAnonymous, isAnonymousInNonStaticContext, isArrayDecl, isByte, isChar, isCheckedException, isDAbefore, isDeprecated, isDouble, isDUbefore, isEmpty, isEnumDecl, isException, isFinal, isFloat, isGenericType, isInnerType, isInnerTypeOf, isInt, isInterfaceDecl, isIterable, isLocalClass, isLong, isMemberType, isNestedType, isNull, isPrimitiveType, isPrivate, isProtected, isPublic, isShort, isSingleton, isSingleton, isStatic, isStrictfp, isSupertypeOfPrimitiveType, isSupertypeOfVoidType, isSynthetic, isTopLevelType, isTypeVariable, isUnboxedPrimitive, isUncheckedConversionTo, isUncheckedException, isUnknown, isVoid, isWildcard, iterator, jimplify2, jimplify2clinit, leIsTrue, localFieldsMap, localMethodsIterator, localMethodsSignature, 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, packageName, plus, ppBodyDecls, primitiveClassName, refined_TypeHierarchyCheck_TypeDecl_typeCheck, remove, rshift, size, sootRef, sootTypeModifiers, sourceNameWithoutPath, stringConversion, sub, substituteParameterType, substituteReturnType, supertypeClassDeclSubstituted, supertypeGenericClassDeclSubstituted, supertypeGenericInterfaceDecl, supertypeGenericInterfaceDeclSubstituted, supertypeGLBType, supertypeInterfaceDeclSubstituted, supertypeLUBType, supertypePrimitiveType, supertypeTypeVariable, supertypeVoidType, supertypeWildcard, supertypeWildcardExtends, supertypeWildcardSuper, typeCheck, typeCloneable, typeError, typeException, typeObject, typeRuntimeException, typeSerializable, typeVoid, typeWildcard, uniqueIndex, unknownType, unqualifiedLookupMethod, urshift, usedNestedTypes, variableSize, withinBodyThatSubclasses, withinDeprecatedAnnotation, withinSuppressWarnings, xorBitwiseaddChild, asImmediate, asLocal, asLocal, asRValue, beginExceptionRange, branchTarget, checkDUeverywhere, checkEnum, checkUncheckedConversion, checkWarnings, clearLocations, cloneSubtree, collectBranches, collectEnclosingVariables, 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, extractIndent, extractSingleType, flushCaches, getChild, getChildNoTransform, getIndexOfChild, getNumChild, getNumChildNoTransform, getParent, in$Circle, in$Circle, indent, insertChild, is$Final, is$Final, isDescendantTo, isStringAdd, jimplify1phase1, jimplify2, location, newLabel, options, putSimpleSetElement, reachedException, removeChild, removeInstanceMethods, removeInstanceVariables, replace, setChild, setEnd, setLocation, setParent, setStart, sourceFile, start, state, toString, transformEnumConstructors, unassignedEverywhere, varChildIndex, varChildIndex, warning, warningPrefix, withgetColumn, getEnd, getId, getLine, getStart, makePositionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingforEach, spliteratorprotected int involvesTypeParameters_visited
protected boolean involvesTypeParameters_computed
protected boolean involvesTypeParameters_initialized
protected boolean involvesTypeParameters_value
protected boolean erasure_computed
protected TypeDecl erasure_value
protected boolean getSuperClassAccessOpt_computed
protected Opt getSuperClassAccessOpt_value
protected boolean getImplementsList_computed
protected List getImplementsList_value
protected boolean getBodyDeclList_computed
protected List getBodyDeclList_value
protected Map subtype_TypeDecl_values
protected Map sameStructure_TypeDecl_values
protected Map instanceOf_TypeDecl_values
protected Map sameSignature_ArrayList_values
protected int usesTypeVariable_visited
protected boolean usesTypeVariable_computed
protected boolean usesTypeVariable_initialized
protected boolean usesTypeVariable_value
protected boolean sourceTypeDecl_computed
protected TypeDecl sourceTypeDecl_value
protected boolean fullName_computed
protected String fullName_value
protected boolean typeName_computed
protected String typeName_value
protected boolean unimplementedMethods_computed
protected Collection unimplementedMethods_value
protected boolean localMethodsSignatureMap_computed
protected HashMap localMethodsSignatureMap_value
protected Map localFields_String_values
protected Map localTypeDecls_String_values
protected boolean constructors_computed
protected Collection constructors_value
protected boolean genericDecl_computed
protected TypeDecl genericDecl_value
public void flushCache()
flushCache in class ClassDeclpublic void flushCollectionCache()
flushCollectionCache in class ClassDeclpublic ParClassDecl clone() throws CloneNotSupportedException
clone in class ClassDeclCloneNotSupportedExceptionpublic ParClassDecl copy()
public ParClassDecl fullCopy()
public void collectErrors()
ASTNodecollectErrors in class ASTNode<ASTNode>public void toString(StringBuffer s)
public TypeDecl substitute(TypeVariable typeVariable)
substitute in interface MemberSubstitutorsubstitute in interface Parameterizationsubstitute in interface ParTypeDeclsubstitute in class TypeDeclpublic int numTypeParameter()
numTypeParameter in interface ParTypeDeclpublic TypeVariable typeParameter(int index)
typeParameter in interface ParTypeDeclpublic Access substitute(Parameterization parTypeDecl)
substitute in interface ParTypeDeclsubstitute in class TypeDeclpublic Access createQualifiedAccess()
createQualifiedAccess in interface ParTypeDeclcreateQualifiedAccess in class TypeDeclpublic void transformation()
transformation in interface ParTypeDecltransformation in class TypeDeclpublic void init$Children()
init$Children in class ClassDeclprotected int numChildren()
numChildren in class ClassDeclpublic boolean mayHaveRewrite()
mayHaveRewrite in class ClassDeclpublic void setModifiers(Modifiers node)
setModifiers in class ClassDeclnode - The new node to replace the Modifiers child.public Modifiers getModifiers()
getModifiers in class ClassDeclpublic Modifiers getModifiersNoTransform()
This method does not invoke AST transformations.
getModifiersNoTransform in class ClassDeclpublic void setID(String value)
public void setID(Symbol symbol)
public String getID()
public void setArgumentList(List<Access> list)
list - The new list node to be used as the Argument list.public int getNumArgument()
getNumArgument in interface ParTypeDeclpublic int getNumArgumentNoTransform()
public Access getArgument(int i)
i in the Argument list..getArgument in interface ParTypeDecli - Index of the element to return.i in the Argument list.public void addArgument(Access node)
node - The element to append to the Argument list.public void addArgumentNoTransform(Access node)
public void setArgument(Access 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<Access> getArguments()
public List<Access> getArgumentsNoTransform()
This method does not invoke AST transformations.
public List<Access> getArgumentList()
public List<Access> getArgumentListNoTransform()
This method does not invoke AST transformations.
public void setSuperClassAccessOpt(Opt<Access> opt)
Opt node containing the child SuperClassAccess, not the actual child!setSuperClassAccessOpt in class ClassDeclopt - The new node to be used as the optional node for the SuperClassAccess child.public boolean hasSuperClassAccess()
hasSuperClassAccess in class ClassDecltrue if the optional SuperClassAccess child exists, false if it does not.public Access getSuperClassAccess()
getSuperClassAccess in class ClassDeclnull otherwise.public void setSuperClassAccess(Access node)
setSuperClassAccess in class ClassDeclnode - The new node to be used as the SuperClassAccess child.public Opt<Access> getSuperClassAccessOptNoTransform()
Opt node containing the child SuperClassAccess, not the actual child!
This method does not invoke AST transformations.
getSuperClassAccessOptNoTransform in class ClassDeclprotected int getSuperClassAccessOptChildPosition()
public void setImplementsList(List<Access> list)
setImplementsList in class ClassDecllist - The new list node to be used as the Implements list.public int getNumImplements()
getNumImplements in class ClassDeclpublic int getNumImplementsNoTransform()
getNumImplementsNoTransform in class ClassDeclpublic Access getImplements(int i)
i in the Implements list..getImplements in class ClassDecli - Index of the element to return.i in the Implements list.public void addImplements(Access node)
addImplements in class ClassDeclnode - The element to append to the Implements list.public void addImplementsNoTransform(Access node)
addImplementsNoTransform in class ClassDeclpublic void setImplements(Access node, int i)
i with the new node node.setImplements in class ClassDeclnode - The new node to replace the old list element.i - The list index of the node to be replaced.public List<Access> getImplementss()
getImplementss in class ClassDeclpublic List<Access> getImplementssNoTransform()
This method does not invoke AST transformations.
getImplementssNoTransform in class ClassDeclpublic List<Access> getImplementsListNoTransform()
This method does not invoke AST transformations.
getImplementsListNoTransform in class ClassDeclprotected int getImplementsListChildPosition()
public void setBodyDeclList(List<BodyDecl> list)
setBodyDeclList in class ClassDecllist - The new list node to be used as the BodyDecl list.public int getNumBodyDecl()
getNumBodyDecl in class ClassDeclpublic int getNumBodyDeclNoTransform()
getNumBodyDeclNoTransform in class ClassDeclpublic BodyDecl getBodyDecl(int i)
i in the BodyDecl list..getBodyDecl in class ClassDecli - Index of the element to return.i in the BodyDecl list.public void addBodyDecl(BodyDecl node)
addBodyDecl in interface MemberSubstitutoraddBodyDecl in class ClassDeclnode - The element to append to the BodyDecl list.public void addBodyDeclNoTransform(BodyDecl node)
addBodyDeclNoTransform in class ClassDeclpublic void setBodyDecl(BodyDecl node, int i)
i with the new node node.setBodyDecl in class ClassDeclnode - 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 ClassDeclpublic List<BodyDecl> getBodyDeclsNoTransform()
This method does not invoke AST transformations.
getBodyDeclsNoTransform in class ClassDeclpublic List<BodyDecl> getBodyDeclListNoTransform()
This method does not invoke AST transformations.
getBodyDeclListNoTransform in class ClassDeclprotected int getBodyDeclListChildPosition()
public boolean involvesTypeParameters()
involvesTypeParameters in class TypeDeclpublic TypeDecl topLevelType()
topLevelType in class TypeDeclpublic boolean isRawType()
isRawType in interface ParameterizationisRawType in interface ParTypeDeclisRawType in class TypeDeclpublic Opt getSuperClassAccessOpt()
getSuperClassAccessOpt in class ClassDeclpublic List getImplementsList()
ClassDeclgetImplementsList in class ClassDeclpublic List getBodyDeclList()
ClassDeclgetBodyDeclList in class ClassDeclpublic boolean supertypeGenericClassDecl(GenericClassDecl type)
supertypeGenericClassDecl in class TypeDeclpublic boolean supertypeClassDecl(ClassDecl type)
supertypeClassDecl in class ClassDeclpublic boolean supertypeRawClassDecl(RawClassDecl type)
supertypeRawClassDecl in class TypeDeclpublic boolean supertypeRawInterfaceDecl(RawInterfaceDecl type)
supertypeRawInterfaceDecl in class TypeDeclpublic boolean sameStructure(TypeDecl t)
sameStructure in class TypeDeclpublic boolean supertypeParClassDecl(ParClassDecl type)
supertypeParClassDecl in class TypeDeclpublic boolean supertypeParInterfaceDecl(ParInterfaceDecl type)
supertypeParInterfaceDecl in class TypeDeclpublic boolean instanceOf(TypeDecl type)
instanceOf in class ClassDeclpublic boolean isReifiable()
isReifiable in class TypeDeclpublic boolean isParameterizedType()
isParameterizedType in interface ParTypeDeclisParameterizedType in class TypeDeclpublic boolean sameArgument(ParTypeDecl decl)
sameArgument in interface ParTypeDeclpublic boolean sameSignature(Access a)
sameSignature in interface ParTypeDeclsameSignature in class TypeDeclpublic boolean sameSignature(ArrayList list)
sameSignature in interface ParTypeDeclpublic boolean usesTypeVariable()
usesTypeVariable in class TypeDeclpublic TypeDecl original()
original in interface MemberSubstitutororiginal in class TypeDeclpublic TypeDecl sourceTypeDecl()
sourceTypeDecl in class TypeDeclpublic String typeName()
typeName in interface ParTypeDecltypeName in class TypeDeclpublic String nameWithArgs()
nameWithArgs in interface ParTypeDeclpublic Collection unimplementedMethods()
unimplementedMethods in class ClassDeclpublic HashMap localMethodsSignatureMap()
localMethodsSignatureMap in interface MemberSubstitutorlocalMethodsSignatureMap in interface ParTypeDecllocalMethodsSignatureMap in class TypeDeclpublic SimpleSet localFields(String name)
localFields in interface MemberSubstitutorlocalFields in interface ParTypeDecllocalFields in class TypeDeclpublic SimpleSet localTypeDecls(String name)
localTypeDecls in interface MemberSubstitutorlocalTypeDecls in class TypeDeclpublic Collection constructors()
constructors in interface MemberSubstitutorconstructors in class TypeDeclpublic TypeDecl genericDecl()
genericDecl in interface ParTypeDeclpublic NameType Define_NameType_nameType(ASTNode caller, ASTNode child)
Define_NameType_nameType in class ClassDeclpublic TypeDecl Define_TypeDecl_genericDecl(ASTNode caller, ASTNode child)
Define_TypeDecl_genericDecl in class ASTNode<ASTNode>Copyright © 2020 Soot OSS. All rights reserved.