case class Method(name: IdnDef, body: MethodBody) extends MiniJavaTree with Product with Serializable
A method with a given return type, name, possibly empty list of arguments, possibly empty list of local variables, an optional list of statements that comprise the method body, and an expression whose value is to be returned by the method.
- Source
- MiniJavaTree.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Method
- Serializable
- Serializable
- MiniJavaTree
- TreeNode
- Attributable
- Cloneable
- Cloneable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Method(name: IdnDef, body: MethodBody)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
->[T, U](a: (T) ⇒ U)(implicit b: (Method.this.type) ⇒ T): U
- Definition Classes
- Attributable
- Annotations
- @inline()
-
final
def
->[U](a: (Method.this.type) ⇒ U): U
- Definition Classes
- Attributable
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val body: MethodBody
-
def
children: Iterator[Attributable]
- Definition Classes
- Attributable
-
def
clone(): Attributable
- Definition Classes
- Attributable → AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
firstChild[T]: T
- Definition Classes
- Attributable
-
final
def
getClass(): java.lang.Class[_]
- Definition Classes
- AnyRef → Any
-
def
hasChildren: Boolean
- Definition Classes
- Attributable
-
val
index: Int
- Definition Classes
- Attributable
-
def
initTreeProperties(): Unit
- Definition Classes
- Attributable
-
def
isFirst: Boolean
- Definition Classes
- Attributable
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isLast: Boolean
- Definition Classes
- Attributable
-
def
isRoot: Boolean
- Definition Classes
- Attributable
-
def
lastChild[T]: T
- Definition Classes
- Attributable
- val name: IdnDef
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
next[T]: T
- Definition Classes
- Attributable
-
val
next: Attributable
- Definition Classes
- Attributable
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
parent[T]: T
- Definition Classes
- Attributable
-
val
parent: Attributable
- Definition Classes
- Attributable
-
def
prev[T]: T
- Definition Classes
- Attributable
-
val
prev: Attributable
- Definition Classes
- Attributable
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )