Symbol
JavaSymbol.MethodJavaSymbol
public static interface Symbol.MethodSymbol extends Symbol
Symbol.LabelSymbol, Symbol.MethodSymbol, Symbol.TypeSymbol, Symbol.VariableSymbol
Modifier and Type | Method | Description |
---|---|---|
MethodTree |
declaration() |
Declaration node of this symbol.
|
Symbol.MethodSymbol |
overriddenSymbol() |
Retrieve the overridden symbol, which may may not be able to determine (returning 'unknown' symbol).
|
List<Type> |
parameterTypes() |
Type of parameters declared by this method.
|
Symbol.TypeSymbol |
returnType() |
|
String |
signature() |
Compute the signature as identified from bytecode point of view.
|
List<Type> |
thrownTypes() |
List of the exceptions that can be thrown by the method.
|
enclosingClass, isAbstract, isDeprecated, isEnum, isFinal, isInterface, isMethodSymbol, isPackageSymbol, isPackageVisibility, isPrivate, isProtected, isPublic, isStatic, isTypeSymbol, isUnknown, isVariableSymbol, isVolatile, metadata, name, owner, type, usages
List<Type> parameterTypes()
Symbol.TypeSymbol returnType()
List<Type> thrownTypes()
@Nullable Symbol.MethodSymbol overriddenSymbol()
@Nullable MethodTree declaration()
Symbol
declaration
in interface Symbol
String signature()
Copyright © 2012–2018 SonarSource. All rights reserved.