Class JavaMethodSymbol
- All Implemented Interfaces:
ICommonJavaLightSymbol,ICommonBasicSymbolsSymbol,ICommonOOSymbolsSymbol,de.monticore.symboltable.IScopeSpanningSymbol,de.monticore.symboltable.ISymbol
- Direct Known Subclasses:
JavaMethodSymbolSurrogate
public class JavaMethodSymbol
extends MethodSymbol
implements ICommonJavaLightSymbol, de.monticore.symboltable.IScopeSpanningSymbol
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<SymTypeExpression> protected List<SymTypeExpression> protected booleanprotected booleanprotected booleanprotected booleanFields inherited from class de.monticore.symbols.oosymbols._symboltable.MethodSymbolTOP
isAbstract, isConstructor, isFinal, isMethod, isPrivate, isProtected, isPublic, isStaticFields inherited from class de.monticore.symbols.basicsymbols._symboltable.FunctionSymbolTOP
accessModifier, astNode, enclosingScope, fullName, isElliptic, name, packageName, spannedScope, stereoinfo, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(AssignmentExpressionsTraverser visitor) voidaccept(CommonExpressionsTraverser visitor) voidaccept(ExpressionsBasisTraverser visitor) voidaccept(JavaClassExpressionsTraverser visitor) voidaccept(UglyExpressionsTraverser visitor) voidaccept(JavaLightTraverser visitor) voidaccept(MCCommonLiteralsTraverser visitor) voidaccept(MCLiteralsBasisTraverser visitor) voidaccept(MCBasicsTraverser visitor) voidaccept(MCArrayStatementsTraverser visitor) voidaccept(MCCommonStatementsTraverser visitor) voidaccept(MCReturnStatementsTraverser visitor) voidaccept(MCStatementsBasisTraverser visitor) voidvoidaccept(BasicSymbolsTraverser visitor) voidaccept(OOSymbolsTraverser visitor) voidaccept(MCBasicTypesTraverser visitor) voidaccept(MCCollectionTypesTraverser visitor) voidaccept(MCFullGenericTypesTraverser visitor) voidaccept(MCSimpleGenericTypesTraverser visitor) voidaccept(TypeParametersTraverser visitor) voidaccept(de.monticore.visitor.ITraverser visitor) booleanaddAllAnnotations(int index, Collection<? extends SymTypeExpression> collection) booleanaddAllAnnotations(Collection<? extends SymTypeExpression> collection) booleanaddAllExceptions(int index, Collection<? extends SymTypeExpression> collection) booleanaddAllExceptions(Collection<? extends SymTypeExpression> collection) voidaddAnnotations(int index, SymTypeExpression element) booleanaddAnnotations(SymTypeExpression element) voidaddExceptions(int index, SymTypeExpression element) booleanaddExceptions(SymTypeExpression element) voidvoidbooleancontainsAllAnnotations(Collection<?> collection) booleancontainsAllExceptions(Collection<?> collection) booleancontainsAnnotations(Object element) booleancontainsExceptions(Object element) protected Stringprotected StringbooleanbooleanbooleanvoidforEachAnnotations(Consumer<? super SymTypeExpression> action) voidforEachExceptions(Consumer<? super SymTypeExpression> action) getAnnotations(int index) getExceptions(int index) protected JavaMethodSymbolgetThis()intintintindexOfAnnotations(Object element) intindexOfExceptions(Object element) booleanbooleanbooleanbooleanbooleanbooleanintlastIndexOfAnnotations(Object element) intlastIndexOfExceptions(Object element) listIteratorAnnotations(int index) listIteratorExceptions(int index) booleanremoveAllAnnotations(Collection<?> collection) booleanremoveAllExceptions(Collection<?> collection) removeAnnotations(int index) booleanremoveAnnotations(Object element) removeExceptions(int index) booleanremoveExceptions(Object element) booleanremoveIfAnnotations(Predicate<? super SymTypeExpression> filter) booleanremoveIfExceptions(Predicate<? super SymTypeExpression> filter) voidreplaceAllAnnotations(UnaryOperator<SymTypeExpression> operator) voidreplaceAllExceptions(UnaryOperator<SymTypeExpression> operator) booleanretainAllAnnotations(Collection<?> collection) booleanretainAllExceptions(Collection<?> collection) setAnnotations(int index, SymTypeExpression element) voidsetAnnotationsList(List<SymTypeExpression> annotations) voidsetEnclosingScope(IJavaLightScope scope) setExceptions(int index, SymTypeExpression element) voidsetExceptionsList(List<SymTypeExpression> exceptions) voidsetIsDefault(boolean isDefault) voidsetIsNative(boolean isNative) voidsetIsStrictfp(boolean isStrictfp) voidsetIsSynchronized(boolean isSynchronized) voidsetSpannedScope(IJavaLightScope scope) intintvoidsortAnnotations(Comparator<? super SymTypeExpression> comparator) voidsortExceptions(Comparator<? super SymTypeExpression> comparator) subListAnnotations(int start, int end) subListExceptions(int start, int end) Object[]toArrayAnnotations(SymTypeExpression[] array) Object[]toArrayExceptions(SymTypeExpression[] array) toString()Methods inherited from class de.monticore.symbols.oosymbols._symboltable.MethodSymbol
deepClone, getAccessModifier, getParameterList, setIsPrivate, setIsProtected, setIsPublicMethods inherited from class de.monticore.symbols.oosymbols._symboltable.MethodSymbolTOP
isIsAbstract, isIsConstructor, isIsFinal, isIsMethod, isIsPrivate, isIsProtected, isIsPublic, isIsStatic, setEnclosingScope, setIsAbstract, setIsConstructor, setIsFinal, setIsMethod, setIsStatic, setSpannedScopeMethods inherited from class de.monticore.symbols.basicsymbols._symboltable.FunctionSymbol
getAllAccessibleTypeVariables, getFunctionType, getTypeVariableList, getTypeVariablesOfEnclosingType, replaceTypeVariablesMethods inherited from class de.monticore.symbols.basicsymbols._symboltable.FunctionSymbolTOP
getFullName, getName, getPackageName, getStereoinfo, getType, isIsElliptic, isPresentAstNode, setAccessModifier, setAstNode, setAstNodeAbsent, setEnclosingScope, setFullName, setIsElliptic, setName, setPackageName, setSpannedScope, setStereoinfo, setTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.monticore.symboltable.ISymbol
getAccessModifier, getFullName, getName, getPackageName, getSourcePosition, getStereoinfo, isPresentAstNode, setAccessModifier
-
Field Details
-
exceptions
-
annotations
-
isSynchronized
protected boolean isSynchronized -
isNative
protected boolean isNative -
isStrictfp
protected boolean isStrictfp -
isDefault
protected boolean isDefault
-
-
Constructor Details
-
JavaMethodSymbol
-
-
Method Details
-
containsExceptions
-
containsAllExceptions
-
isEmptyExceptions
public boolean isEmptyExceptions() -
iteratorExceptions
-
sizeExceptions
public int sizeExceptions() -
toArrayExceptions
-
toArrayExceptions
-
spliteratorExceptions
-
streamExceptions
-
parallelStreamExceptions
-
getExceptions
-
indexOfExceptions
-
lastIndexOfExceptions
-
equalsExceptions
-
hashCodeExceptions
public int hashCodeExceptions() -
listIteratorExceptions
-
listIteratorExceptions
-
subListExceptions
-
getExceptionsList
-
clearExceptions
public void clearExceptions() -
addExceptions
-
addAllExceptions
-
removeExceptions
-
removeAllExceptions
-
retainAllExceptions
-
removeIfExceptions
-
forEachExceptions
-
addExceptions
-
addAllExceptions
-
removeExceptions
-
setExceptions
-
replaceAllExceptions
-
sortExceptions
-
setExceptionsList
-
containsAnnotations
-
containsAllAnnotations
-
isEmptyAnnotations
public boolean isEmptyAnnotations() -
iteratorAnnotations
-
sizeAnnotations
public int sizeAnnotations() -
toArrayAnnotations
-
toArrayAnnotations
-
spliteratorAnnotations
-
streamAnnotations
-
parallelStreamAnnotations
-
getAnnotations
-
indexOfAnnotations
-
lastIndexOfAnnotations
-
equalsAnnotations
-
hashCodeAnnotations
public int hashCodeAnnotations() -
listIteratorAnnotations
-
listIteratorAnnotations
-
subListAnnotations
-
getAnnotationsList
-
clearAnnotations
public void clearAnnotations() -
addAnnotations
-
addAllAnnotations
-
removeAnnotations
-
removeAllAnnotations
-
retainAllAnnotations
-
removeIfAnnotations
-
forEachAnnotations
-
addAnnotations
-
addAllAnnotations
-
removeAnnotations
-
setAnnotations
-
replaceAllAnnotations
-
sortAnnotations
-
setAnnotationsList
-
isIsSynchronized
public boolean isIsSynchronized() -
setIsSynchronized
public void setIsSynchronized(boolean isSynchronized) -
isIsNative
public boolean isIsNative() -
setIsNative
public void setIsNative(boolean isNative) -
isIsStrictfp
public boolean isIsStrictfp() -
setIsStrictfp
public void setIsStrictfp(boolean isStrictfp) -
isIsDefault
public boolean isIsDefault() -
setIsDefault
public void setIsDefault(boolean isDefault) -
getEnclosingScope
- Specified by:
getEnclosingScopein interfaceICommonBasicSymbolsSymbol- Specified by:
getEnclosingScopein interfaceICommonJavaLightSymbol- Specified by:
getEnclosingScopein interfaceICommonOOSymbolsSymbol- Specified by:
getEnclosingScopein interfacede.monticore.symboltable.ISymbol- Overrides:
getEnclosingScopein classMethodSymbolTOP
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceICommonJavaLightSymbol
-
getAstNode
- Specified by:
getAstNodein interfacede.monticore.symboltable.ISymbol- Overrides:
getAstNodein classMethodSymbolTOP
-
equals
- Overrides:
equalsin classMethodSymbolTOP
-
getThis
- Overrides:
getThisin classMethodSymbolTOP
-
accept
- Specified by:
acceptin interfaceICommonJavaLightSymbol
-
accept
-
accept
-
accept
-
accept
-
accept
-
accept
-
accept
-
accept
-
accept
- Overrides:
acceptin classMethodSymbolTOP
-
accept
-
accept
-
accept
-
accept
-
accept
-
accept
-
accept
-
accept
- Specified by:
acceptin interfaceICommonOOSymbolsSymbol- Overrides:
acceptin classMethodSymbolTOP
-
accept
- Specified by:
acceptin interfaceICommonBasicSymbolsSymbol- Overrides:
acceptin classMethodSymbolTOP
-
accept
-
accept
-
accept
public void accept(de.monticore.visitor.ITraverser visitor) - Specified by:
acceptin interfacede.monticore.symboltable.ISymbol- Overrides:
acceptin classMethodSymbolTOP
-
determinePackageName
- Overrides:
determinePackageNamein classMethodSymbolTOP
-
determineFullName
- Overrides:
determineFullNamein classMethodSymbolTOP
-
toString
- Overrides:
toStringin classMethodSymbolTOP
-
getSpannedScope
- Specified by:
getSpannedScopein interfacede.monticore.symboltable.IScopeSpanningSymbol- Overrides:
getSpannedScopein classMethodSymbolTOP
-
setSpannedScope
-