MethodMethods

final class MethodMethods(val method: Method) extends AnyVal with NodeExtension with HasLocation
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def annotation: Traversal[Annotation]

Traverse to annotations of method

Traverse to annotations of method

def body: Block

Traverse to method body (alias for block)

Traverse to method body (alias for block)

def cfgNode: Traversal[CfgNode]
def controlStructure: Traversal[ControlStructure]

All control structures of this method

All control structures of this method

def definingTypeDecl: Option[TypeDecl]

The type declaration associated with this method, e.g., the class it is defined in.

The type declaration associated with this method, e.g., the class it is defined in.

def isVariadic: Boolean
def local: Traversal[Local]
override def location: NewLocation
Definition Classes
def numberOfLines: Int
def postOrder: Traversal[CfgNode]

List of CFG nodes in post order

List of CFG nodes in post order

def reversePostOrder: Traversal[CfgNode]

List of CFG nodes in reverse post order

List of CFG nodes in reverse post order

def typeDecl: Option[TypeDecl]

The type declaration associated with this method, e.g., the class it is defined in. Alias for 'definingTypeDecl'

The type declaration associated with this method, e.g., the class it is defined in. Alias for 'definingTypeDecl'

Concrete fields

val method: Method