org.sonar.java.resolve
Class Symbol.MethodSymbol

java.lang.Object
  extended by org.sonar.java.resolve.Symbol
      extended by org.sonar.java.resolve.Symbol.MethodSymbol
Enclosing class:
Symbol

public static class Symbol.MethodSymbol
extends Symbol

Represents a method, constructor or initializer (static or instance).


Nested Class Summary
 
Nested classes/interfaces inherited from class org.sonar.java.resolve.Symbol
Symbol.MethodSymbol, Symbol.PackageSymbol, Symbol.TypeSymbol, Symbol.VariableSymbol
 
Field Summary
 
Fields inherited from class org.sonar.java.resolve.Symbol
ABSENT, AMBIGUOUS, ERRONEOUS, MTH, PCK, TYP, VAR
 
Constructor Summary
Symbol.MethodSymbol(int flags, String name, Symbol owner)
           
Symbol.MethodSymbol(int flags, String name, Type type, Symbol owner)
           
 
Method Summary
 Symbol.TypeSymbol getReturnType()
           
 List<Symbol.TypeSymbol> getThrownTypes()
           
 
Methods inherited from class org.sonar.java.resolve.Symbol
complete, enclosingClass, flags, outermostClass, owner, packge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Symbol.MethodSymbol

public Symbol.MethodSymbol(int flags,
                           String name,
                           Type type,
                           Symbol owner)

Symbol.MethodSymbol

public Symbol.MethodSymbol(int flags,
                           String name,
                           Symbol owner)
Method Detail

getReturnType

public Symbol.TypeSymbol getReturnType()

getThrownTypes

public List<Symbol.TypeSymbol> getThrownTypes()


Copyright © 2012-2014 SonarSource. All Rights Reserved.